From bad4e6946ecbd71d5aca07380e2b2af47ef70d58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henri=20Hyyryl=C3=A4inen?= Date: Tue, 5 Dec 2023 23:06:19 +0200 Subject: [PATCH] Convert a word to a regex --- lib/belgium_censor/bad_words.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/belgium_censor/bad_words.rb b/lib/belgium_censor/bad_words.rb index 50da49a..7ebe81d 100644 --- a/lib/belgium_censor/bad_words.rb +++ b/lib/belgium_censor/bad_words.rb @@ -381,7 +381,6 @@ module ::BelgiumCensorPluginModule t1t tampon tawdry - teat tinkle titfuck tits @@ -460,6 +459,7 @@ module ::BelgiumCensorPluginModule "pube(?!rt)", "\\bpecker", "\\bpedo", + "\\bteat\\b", "\\btiti\\b", "\\bracy", "(?