Skip to content

Commit

Permalink
Convert a word to a regex
Browse files Browse the repository at this point in the history
  • Loading branch information
hhyyrylainen committed Dec 5, 2023
1 parent 3c729e7 commit bad4e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/belgium_censor/bad_words.rb
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,6 @@ module ::BelgiumCensorPluginModule
t1t
tampon
tawdry
teat
tinkle
titfuck
tits
Expand Down Expand Up @@ -460,6 +459,7 @@ module ::BelgiumCensorPluginModule
"pube(?!rt)",
"\\bpecker",
"\\bpedo",
"\\bteat\\b",
"\\btiti\\b",
"\\bracy",
"(?<![gtc])rape(?!seed)(?!utic)",
Expand Down

0 comments on commit bad4e69

Please sign in to comment.