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

bad_keywords:txt: Fix plussed phone numbers #484

Merged
merged 2 commits into from
Jan 27, 2017

Conversation

tripleee
Copy link
Member

These were not working, because the leading plus is consumed by the word boundary condition in the code, so we can't match that directly, but we can say "if we just skipped a plus sign" with a lookbehind.

I included a couple of comments in the text file which are simply never going to match anything; but down the line, we might want to add code to skip comments in the file, or just remove these lines.

These were not working, because the leading plus is consumed by the
word boundary condition in the code so we can't match that directly,
but we can say "if we just skipped a plus sign" with a lookbehind.
@tripleee
Copy link
Member Author

See also discussion about design guidance at http://chat.stackexchange.com/transcript/message/35038988#35038988

@ArtOfCode- ArtOfCode- merged commit 2014c7e into Charcoal-SE:master Jan 27, 2017
@tripleee tripleee deleted the plus-plone-numbers branch January 27, 2017 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants