From: terry%netscape.com <>
Date: Wed, 20 Jan 1999 01:10:01 +0000 (+0000)
Subject: Allow a "not regexp" search of email addresses.
X-Git-Tag: bugzilla-2.2~36
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09033034edd8cfc8aee44b37db86b5f823d19699;p=thirdparty%2Fbugzilla.git
Allow a "not regexp" search of email addresses.
---
diff --git a/buglist.cgi b/buglist.cgi
index cc2c560344..4a59cbbe86 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";
}
diff --git a/query.cgi b/query.cgi
index 7401c54609..6d4c731aa0 100755
--- a/query.cgi
+++ b/query.cgi
@@ -133,6 +133,7 @@ sub GenerateEmailInput {
matching as