-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weird behavior when street name starts with a number #12
Comments
Test data: [
'470 6e Av',
[
'additionToAddress1' => '',
'streetName' => '6e Av',
'houseNumber' => '470',
'houseNumberParts' => [
'base' => '470',
'extension' => '',
],
'additionToAddress2' => ''
]
] |
Was this ever fixed @svenmuennich? We're experiencing similar issues. |
This issue is still relevant. Here's another example coming from #24: [
'13 2e Avenue',
[
'additionToAddress1' => '',
'streetName' => '2e Avenue',
'houseNumber' => '13',
'houseNumberParts' => [
'base' => '13',
'extension' => '',
],
'additionToAddress2' => ''
]
] |
Also relevant for Dutch addresses:
|
And certain American ones: VIISON\AddressSplitter\AddressSplitter::splitAddress('942 12th Ave');
// VIISON\AddressSplitter\Exceptions\SplittingException: Address '942 12th Ave' could not be splitted into street name and house number. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This example (in a French format) returns an exception: 470 6e Av:
InvalidArgumentException: Address '470 6e Av' could not be splitted into street name and house number
The same example, with an added comma after the house number also doesn't work correctly:
Most of the time, users will not include a comma after the civic number
The text was updated successfully, but these errors were encountered: