projects
/
webpac2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
strict match AND/OR with word-boundries
[webpac2]
/
vhost
/
webpac2.cgi
diff --git
a/vhost/webpac2.cgi
b/vhost/webpac2.cgi
index
7f122bb
..
5e4ac0e
100755
(executable)
--- a/
vhost/webpac2.cgi
+++ b/
vhost/webpac2.cgi
@@
-217,7
+217,7
@@
if ( my $search = param('search') ) {
my @attrs = param('attr');
my $op = param('attr_operator');
- if ( $search =~ m{(=|"|
AND|OR
)} ) {
+ if ( $search =~ m{(=|"|
\bAND\b|\bOR\b
)} ) {
push @search, $search;
} elsif ( @attrs ) {