Skip to content
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

Handle when a unit prefix is absent #3

Merged
merged 2 commits into from
Feb 22, 2024
Merged

Conversation

AidanKneller
Copy link

Update to the regex that parses the unit information from an address to handle when a unit might not have a prefix.
Old behavior: Regex would not parse out the street name correctly if a unit prefix was not used ("1234 W Main St 1W, Chicago IL" would result in "1234 W, Chicago IL")
New behavior: Regex parses out address correctly even without a unit prefix ("1234 W Main St 1W, Chicago IL" now results in "1234 W Main St #1W, Chicago IL")

@zerodahero zerodahero merged commit cb48d58 into zerodahero:main Feb 22, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants