diff options
| author | terry%netscape.com <> | 1999-01-20 01:10:01 +0000 |
|---|---|---|
| committer | terry%netscape.com <> | 1999-01-20 01:10:01 +0000 |
| commit | 09033034edd8cfc8aee44b37db86b5f823d19699 (patch) | |
| tree | c797345bf42d5ba7a6490ef26af86201faf68e4f | |
| parent | 4d8fdbd288ae9582c915902dd43bb83116eafac9 (diff) | |
| download | bugs-09033034edd8cfc8aee44b37db86b5f823d19699.tar bugs-09033034edd8cfc8aee44b37db86b5f823d19699.tar.gz bugs-09033034edd8cfc8aee44b37db86b5f823d19699.tar.bz2 bugs-09033034edd8cfc8aee44b37db86b5f823d19699.tar.xz bugs-09033034edd8cfc8aee44b37db86b5f823d19699.zip | |
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> |
