Skip to content

Regex: add a word boundary before .gg#1817

Merged
Xithrius merged 3 commits into
mainfrom
filters/dotgg-boundary
Oct 17, 2021
Merged

Regex: add a word boundary before .gg#1817
Xithrius merged 3 commits into
mainfrom
filters/dotgg-boundary

Conversation

@Akarys42
Copy link
Copy Markdown
Contributor

@Akarys42 Akarys42 commented Sep 8, 2021

Before this commit, an-arbitrary-domain.gg/notaninvite would trigger the filter. This solve the issue by adding a word boundary before this branch of the pattern.

Comment thread bot/utils/regex.py Outdated
@Xithrius Xithrius added a: moderation Related to community moderation functionality: (moderation, defcon, verification) p: 2 - normal Normal Priority s: needs review Author is waiting for someone to review and approve t: enhancement Changes or improvements to existing features labels Sep 9, 2021
@Xithrius Xithrius requested review from ChrisLovering and jb3 October 6, 2021 01:50
Before this commit, `an-arbitrary-domain.gg/notaninvite` would trigger the filter.
This solve the issue by adding a word boundary before this branch of the pattern.
@Akarys42 Akarys42 force-pushed the filters/dotgg-boundary branch from 35d6e1b to 0bebd55 Compare October 12, 2021 07:06
@Akarys42 Akarys42 requested a review from mbaruh October 12, 2021 07:06
Comment thread bot/utils/regex.py Outdated
Co-authored-by: ChrisJL <ChrisLovering@users.noreply.github.com>
@Xithrius Xithrius enabled auto-merge (squash) October 17, 2021 09:46
@Xithrius Xithrius merged commit 77eaae2 into main Oct 17, 2021
@Xithrius Xithrius deleted the filters/dotgg-boundary branch October 17, 2021 09:48
@Xithrius Xithrius removed the s: needs review Author is waiting for someone to review and approve label Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: moderation Related to community moderation functionality: (moderation, defcon, verification) p: 2 - normal Normal Priority t: enhancement Changes or improvements to existing features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants