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

regexp function not working as expected #57

Open
arch0345 opened this issue Nov 16, 2023 · 0 comments
Open

regexp function not working as expected #57

arch0345 opened this issue Nov 16, 2023 · 0 comments

Comments

@arch0345
Copy link

When a match isn't found for a regexp pattern, I would expect it to return nothing. However, it looks like batch-machine is returning the full field if no matches are found.

For example in openaddresses/openaddresses#6981, some address points only include a zip code, city, state, and country in REV_LongLabel. Since no match is found for the regexp pattern I set for number for these points, it returns the full field.
image

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

No branches or pull requests

1 participant