Missing 'notregexp' file-matching option in the query code

VERIFIED FIXED

Status

Webtools Graveyard
Bonsai
P3
normal
VERIFIED FIXED
18 years ago
2 years ago

People

(Reporter: Ian Wells, Assigned: Tara Hernandez)

Tracking

Details

(Reporter)

Description

18 years ago
Selecting 'doesn't match regexp' for a filename doesn't work because the query 
code that backs the option up is absent.  You want:--- old/cvsquery.pl	Wed Jan 
19 19:04:31 2000
+++ cvsquery.pl	Thu Jul  6 10:35:23 2000
@@ -172,6 +172,8 @@
         $::query_filetype ||= "exact";
         if ($::query_filetype eq 'regexp') {
             $qstring .= " and files.file regexp $q";
+        } elsif ($::query_filetype eq 'notregexp') {
+            $qstring .= " and not (files.file regexp $q) ";
         } else {
             $qstring .= " and files.file = $q";
         }
(Assignee)

Comment 1

17 years ago
bug verified, patch tested and checked in.
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED

Comment 2

16 years ago
vrfy fixed
1.20 tara%tequilarista.org Oct 30 2001
and tested using !~ m|\.|
Status: RESOLVED → VERIFIED
QA Contact: matty → timeless
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.