in reply to Re: Questions: how to exclude substring having Evil meanings
in thread Questions: how to exclude substring having Evil meanings
At least until someone gets in a huff about getting a code SH1T455 or 455H0L3 or . . . :)
There's always Regexp::Common::profanity (and variants specialized for other locales and languages), but you'd (the OP, that is) want to examine them to make sure they handle everything you're worried about.
Update: Or another idea: just use a hex representation of the record number (which'll be longer than 7 chars, but you'll only have to worry about offending Hindus or vegans with DEADBEEF :).
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Questions: how to exclude substring having Evil meanings
by roboticus (Chancellor) on Dec 02, 2009 at 17:14 UTC | |
|
Re^3: Questions: how to exclude substring having Evil meanings
by AnomalousMonk (Archbishop) on Dec 03, 2009 at 01:34 UTC | |
by dsheroh (Monsignor) on Dec 03, 2009 at 10:41 UTC |