Problem/Motivation
Currently validation fails for addresses with address line 1 like this one 11A, rte de Soral
Steps to reproduce
Proposed resolution
First let's try with a second regex that runs if the first one failed to find a house number. Another option could be to split the address line field via javascript.
Comments
Comment #2
primsi commentedInitial try.
Comment #3
primsi commentedAdded option to capture house address in 10/8 form to the first regex and updated the second one.
Comment #4
primsi commentedIf the first regex matches, then the ouput street is used, which then produces unwanted results
Comment #5
primsi commentedRemoving debug leftover.
Comment #6
primsi commentedAdding tests.
Comment #7
primsi commentedDoh, the tests were in a new file ...
Comment #8
berdirmethod name doesn't match?
Comment #9
primsi commentedThanks.
Comment #11
berdirCommitted.