|
Posted by steve on 06/08/05 16:36
"Oli Filth" wrote:
> steve said the following on 08/06/2005 02:35:
> > "Oli Filth" wrote:
> > > steve said the following on 08/06/2005 00:35:
> > > >
> > > > For maximum flexibility, I strongly
> recommend you set up
> > > your word
> > > > list with regex notation. That way, many
> different versions
> > > of a word
> > > > can be caught with a single regex.
> > > >
> > >
> > > How would you do that without blocking a whole load
> of
> > > perfectly
> > > innocent words at the same time?
> > >
> >
> > With regex, you can make the criteria as loose or as tight
> as you
> > want. e.g. [ab] only allows "a" or "b" to show up, where as
> "."
> > allows any word to show up. So the control is yours.
> >
>
> I'm familiar with regular expressions (I use them all the time
> ;) ). My
> question was more about how you could possibly come up with a
> regex (or
> set of regexes) that do what you suggest, without creating a
> load of
> false negatives (i.e. matching words that are in fact
> innocent).
>
>
> --
> Oli
Oli,
regex is simply a more powerful notation vs. "plain english" for
specifying ban words. I believe the ban words list would be 4-5 times
bigger if regex is not used, and it would be harder to maintain.
The power is there to use or not IMHO. The degree of
"agressiveness" (which creates more false negatives) is decided by
the admin.
--
Posted using the http://www.dbforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbforumz.com/PHP-Forbidden-word-removal-ftopict229633.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbforumz.com/eform.php?p=798131
[Back to original message]
|