Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@zneix
Last active September 26, 2021 18:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zneix/3ee2fc7d0def2ce246f1fd2a1973c860 to your computer and use it in GitHub Desktop.
Save zneix/3ee2fc7d0def2ce246f1fd2a1973c860 to your computer and use it in GitHub Desktop.
Polish regex banphrases
# 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