From 70fdef0395640e4bfcfef08bc9a59d3a6b1f7bd9 Mon Sep 17 00:00:00 2001 From: minima Date: Wed, 21 Dec 2005 18:39:25 +0000 Subject: [PATCH] fix split on simple words so that it splits on word boundaries --- Changes | 3 +++ perl/BadWords.pm | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) 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($_); } -- 2.34.1