Subscribo / omnipay-subscribo-shared

Package with shared functionality for some Omnipay drivers
MIT License
0 stars 3 forks source link

If there is no space in the address, try splitting by number. #3

Closed TajPelc closed 9 years ago

TajPelc commented 9 years ago

We had some problems with addresses such as "Meierskamp,31b" where there is no space. I added logic that tries splitting the house number by the first number it finds if it was unable to do so using a space.

slavo2 commented 9 years ago

First splitting by space, then (if not possible by space) by comma, then by numbers