Well... This is really just a base script that will be included with the bot distribution. So I want people to be able to modify it with as little hassle as possible. And as far as I'm concerned, if it filters out most stuff that resembles the word, it is doing its job.
When people start making up their own terminology (One example is "ffs" for "for f***s sake ;) ), as far as I am concerned it is an inside joke at that point. And it only really has meaning to the people who made it up. If whoever is running the bot wants to filter it, so be it. I am just making a core regexp/function that will be fairly easy to add to.

The main use I would have for it is protecting against spam advertisements. I would put in the names of other sites that people like to spam my channel with ( I mod an IRC channel for a browser game and people like to come in and spam a different game's website. If I make it so they have to sufficiently mangle the site's name, then I am happy. It isn't meant to be perfect, but it is sufficient for my needs, and as a general example script.

As far as the free speech issues, I share your views and don't really care personally one way or the other what language people use. I swear plenty myself sometimes. But as I said, it's there for other people if they want it.

In reply to More clarification by Azhrarn
in thread Robust Anti-Swear script by Azhrarn

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.