Skip to content

Conversation

@hlieberman
Copy link
Contributor

This changes the regex to be stricter about what it matches in terms of email addresses. That should cut down on the amount of false positives from censored swearing (e.g., "f!@#$%%"). Unscientifically, it's also faster, at least on significant sized archives.

@hlieberman hlieberman force-pushed the push-oyqsxqxnzops branch from fe2a03e to daa1ec3 Compare May 25, 2025 17:25
Copy link
Member

@brianna-dardin brianna-dardin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm far from a regex expert but playing around with this in regex101 seems like it works just fine. Thanks for updating it!

This changes the regex to be stricter about what it matches in terms of
email addresses.  That should cut down on the amount of false positives
from censored swearing (e.g., "f!@#$%%").  Unscientifically, it's also
faster, at least on significant sized archives.
@hlieberman hlieberman force-pushed the push-oyqsxqxnzops branch from daa1ec3 to 5c1c403 Compare May 25, 2025 18:00
@hlieberman hlieberman merged commit 3e0383a into otwcode:master May 25, 2025
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