Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

(silly) Re: Language Filter

by mirod (Canon)
on Jan 13, 2001 at 15:17 UTC ( #51588=note: print w/replies, xml ) Need Help??

in reply to Language Filter

I agree with you. The only problem, as already mentionned in the previous anwers is that regexps do a terrible job at matching curse words. They are inneficient and not accurate at all.

I guess the only efficient solution here is that curse words should be tagged as such, then a quick XML filter would get rid of then easily. The author could even provide for milder alternatives, so the filter could accuratelly replace the bad language with a nicer version.

<p>Go <curse level="very offensive" cats="sexual contorsionnism" alt=" +play with your toys">f**k yourself</curse> you <curse level="quite offensive" cats="body_part" alt="bad person +">a*sh**e</curse>!

Easy isn't it?

Seriously filters don't work, be they for URL's or for words, so please let's not go there. I haven't seen much cursing around here anyway so why bother?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://51588]
[Corion]: Michael_W: $Variables[0] = $Map_Request_Date; $Variables[1] = $Map_Due_Date; ...
[choroba]: ( $Map_Request_Date, $Map_Due_Date,$Map _Cutover_Date,$Map _Complete_Date,$Ma p_Approved_Date) = @Variables;?
[thezip]: something like: $Map_Request = <value>; etc. should work
[Corion]: Duh - I read it backwards. I shouldn't code today I guess ;)
[thezip]: G'day all, BTW!

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (15)
As of 2017-04-27 15:38 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (509 votes). Check out past polls.