in reply to Re: Re: Re: regex for swear filter
in thread regex for swear filter

What ever filter you make, it's easy to circumvent. Just witness all the "spam" and "nanny" filters, that block emails or websites discussing breast cancer, or mentioning non-body parts like 'ass' and 'nipple', but allow texts mentioning 'V-I-A-G-R-A', 'H*T T!T$' or '\/\/3+ p|_|zz!35'.

Swear filters are a technical solution to a social problem. Techinal solutions to social problems usually don't work, and have bad side effects.

Abigail

Replies are listed 'Best First'.
Re: Re: regex for swear filter
by halley (Prior) on Feb 13, 2004 at 14:16 UTC

    I thoroughly agree. That doesn't change the fact that many managers *don't* agree, and writing code to change "foo" to "*$@" will sometimes pay the rent for you and your children. I'm glad I convinced my managers to let the *recipient* choose the filter settings, and not try to impose their sensitivities on everyone else.

    The scheme I wrote was pretty effective at finding creative alternative glyphic forms, like $.h.1.+. Some kids played with the boundaries of what the filter could and could not do, but the average everyday slips of decorum were found and scrubbed.

    For the most part, it solved the problem put to management: that casual swearing was filtered if individual users wanted it to be filtered.

    --
    [ e d @ h a l l e y . c c ]

      That doesn't change the fact that many managers *don't* agree, and writing code to change "foo" to "*$@" will sometimes pay the rent for you and your children.
      Oh, that's easily solved. You just ask the manager for a list of words, and ask the manager to tick off for each word wether only the occurrence as an entire word needs to be replaced, as a word beginning, as a word ending, or anywhere inside another word.

      Just let the manager make the non-technical decisions. That's what managers are for.

      Abigail