language)
git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@122
13eb9ef6-21d5-0310-b721-
a9d68796d827
$s.= ($s) ? "and " : "";
$s.="not " if ($1 eq "-");
$s.="$2* ";
$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) {
$s.="$_ ";
# don't add * to words with less than x chars
} elsif (length($_) <= $MIN_WILDCARD) {