Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: street-address-rb/street-address
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: wrstudios/street-address
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jul 28, 2023

  1. Copy the full SHA
    941b282 View commit details

Commits on Jul 31, 2023

  1. Merge pull request #1 from wrstudios/WSAS-5459

    Adjust regex to account for accents tildes.
    naemcivic authored Jul 31, 2023
    Copy the full SHA
    53ef99e View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/street_address.rb
2 changes: 1 addition & 1 deletion lib/street_address.rb
Original file line number Diff line number Diff line change
@@ -765,7 +765,7 @@ def to_address(input, args)
# strip off some punctuation and whitespace
input.values.each { |string|
string.strip!
string.gsub!(/[^\w\s\-\#\&]/, '')
string.gsub!(/[^\p{L}\w\s\-\#\&]/, '')
}

input['redundant_street_type'] = false