Thread
:
Auto swear gag
View Single Post
OvidiuS
Chillaxin'
Join Date: Dec 2009
Location: Serbia
08-07-2012 , 12:03 Re: Auto swear gag
#
106
I made this pattern:
"^.*[k]+[^a-z]*[u]+[^a-z]*[r]+[^a-z]*[a@4c]+[^a-z]*[ci1!u]+$"
Problem is that pattern isn't working if swear word is the first word in sentence or if it has word behind.
Like:
nesto kurac - blocked
kurac nesto - not blocked.
nesto kurac nesto - not blocked
nesto kur@c... - not blocked
All of this should be blocked...
Last edited by OvidiuS; 08-07-2012 at
12:07
.
OvidiuS
View Public Profile
Send a private message to OvidiuS
Find More Posts by OvidiuS