AdamC wrote:
I'm writing a small cgi application for children to use and I want to
check that the name they enter isn't a swear word.
Why?
It seems that we adults are distressed by children using the very same
words we use. What value is there in trying to stop children from using
them? In
On Mon, Apr 6, 2009 at 8:26 AM, AdamC wrote:
> 2009/4/6 Kent Johnson :
>> On Mon, Apr 6, 2009 at 3:30 AM, AdamC wrote:
>>> I'm writing a small cgi application for children to use and I want to
>>> check that the name they enter isn't a swear word.
>>
>>> #for i in swearlist: # shows swear l
On Mon, Apr 6, 2009 at 3:30 AM, AdamC wrote:
> I'm writing a small cgi application for children to use and I want to
> check that the name they enter isn't a swear word.
> #for i in swearlist: # shows swear list OK
> # print i;
Perhaps the words in swearlist include some whitespace? Tr
I'm writing a small cgi application for children to use and I want to
check that the name they enter isn't a swear word.
I've populated a database with a swear word list and then check this
list against the input, but it always shows up as not being a swear
word.
Can anyone see why this would alw