Last active
September 26, 2021 18:53
-
-
Save zneix/3ee2fc7d0def2ce246f1fd2a1973c860 to your computer and use it in GitHub Desktop.
Polish regex banphrases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# racism | |
## variations of 'czarnuch' https://regex101.com/r/1w4rfa/7 | |
(?P<c>c|ć|\[)[\s.\\]*((?P<zh>z|乙|h)+[\s.\\]*(?P<au>a|4|卂|\|_\||u|o|ó)+|(?&zh)+|(?&au)+)[\s.\\]*r?[\s.\\]*(n|m|\/\\\/|\|(\\|\/)\|)+[\s.\\]*(\|_\||u|ó|o)+[\s.\\]*(?&c)?[\s.\\]*(h|\|-\|) | |
## killing | |
(zabija(ć|c)|jeba(ć|c)|pal(i(ć|c))) +(czarn(ych|uch(o|ó|u)w|(o|ó|u)chy|e k(o|ó|u)rwy)|m(o|ó|u)rzyn|(ó|o|u)w) | |
## racism emote combos | |
(demonzGun|adamcyGun) +(adamcyTri|cmonBru(h|g)|TriHard) | |
--- | |
# other bad words streamers might want to ban | |
## variations of 'ciota' | |
(c|ć)(i|1|l)ot(a|4) | |
## variations of 'pedał' (with adjectives) | |
p(e|ę|3)+d(a|4)+(ł|l|I)(skie?)? | |
## variations of 'cwel' | |
c\s*(w|vv)\s*(e|3)\s*l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment