diff options
author | terry%netscape.com <> | 1999-01-20 02:10:01 +0100 |
---|---|---|
committer | terry%netscape.com <> | 1999-01-20 02:10:01 +0100 |
commit | 09033034edd8cfc8aee44b37db86b5f823d19699 (patch) | |
tree | c797345bf42d5ba7a6490ef26af86201faf68e4f | |
parent | 4d8fdbd288ae9582c915902dd43bb83116eafac9 (diff) | |
download | bugzilla-09033034edd8cfc8aee44b37db86b5f823d19699.tar.gz bugzilla-09033034edd8cfc8aee44b37db86b5f823d19699.tar.xz |
Allow a "not regexp" search of email addresses.
-rwxr-xr-x | buglist.cgi | 2 | ||||
-rwxr-xr-x | query.cgi | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/buglist.cgi b/buglist.cgi index cc2c56034..4a59cbbe8 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -291,6 +291,8 @@ foreach my $id ("1", "2") { } } elsif ($type eq "regexp") { $query .= "\t$lead $table.login_name regexp $qemail\n"; + } elsif ($type eq "notregexp") { + $query .= "\t$lead $table.login_name not regexp $qemail\n"; } else { $query .= "\t$lead instr($table.login_name, $qemail)\n"; } @@ -133,6 +133,7 @@ sub GenerateEmailInput { <input name="email$id" size="30" value=""> matching as <SELECT NAME=emailtype$id> <OPTION VALUE="regexp">regexp +<OPTION VALUE="notregexp">not regexp <OPTION SELECTED VALUE="substring">substring <OPTION VALUE="exact">exact </SELECT> |