--- trunk/WebPac.pm 2003/09/02 21:31:54 121 +++ trunk/WebPac.pm 2003/09/03 20:08:26 122 @@ -108,7 +108,7 @@ $s.= ($s) ? "and " : ""; $s.="not " if ($1 eq "-"); $s.="$2* "; - } elsif (m/(and|or|not)/i) { + } elsif (m/^\s*(and|or|not)\s*$/i) { $s.="$_ "; # don't add * to words with less than x chars } elsif (length($_) <= $MIN_WILDCARD) {