From: minima Date: Wed, 21 Dec 2005 18:39:25 +0000 (+0000) Subject: fix split on simple words so that it splits on word boundaries X-Git-Tag: 1.53~109 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=2bf2007a3020b6cd6d230b3bc9ccccb59f858417;p=spider.git fix split on simple words so that it splits on word boundaries --- diff --git a/Changes b/Changes index e60696e7..4e14f087 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,6 @@ +21Dec05======================================================================= +1. Add start of optional SQL working. +2. Fix BadWords so that the simple word check splits words on word boundaries. 13Dec05======================================================================= 1. upissue version no to 1.52 07Nov05======================================================================= diff --git a/perl/BadWords.pm b/perl/BadWords.pm index 3d740438..c21fe975 100644 --- a/perl/BadWords.pm +++ b/perl/BadWords.pm @@ -107,7 +107,6 @@ sub check return @out if @out; for (split(/\b/, $s)) { - s/\'?S$//; push @out, $_ if $badword->in($_); }