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: R_1_52~53 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=70fdef0395640e4bfcfef08bc9a59d3a6b1f7bd9;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($_); }