[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 238746] New: Find in files comes with faulty regex standard
From:       "Justin T. Frisch" <justint () gmx ! net>
Date:       2010-05-24 22:49:16
Message-ID: bug-238746-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=238746

           Summary: Find in files comes with faulty regex standard line in
                    exceptions
           Product: kdevelop
           Version: 0.1
          Platform: Archlinux Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: grep frontend
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: justint@gmx.net


Version:           0.1 (using KDE 4.4.3) 
OS:                Linux

The regular expression "/CVS/,/SCCS/,/\.svn/,/_darcs/,/build/,/.git/" leads to
excluding all directories named "?git" when it was probably meant to only
exclude the .git directory. This requires escaping the dot character like it is
done with the \.svn
Therefore the correct line should be
"/CVS/,/SCCS/,/\.svn/,/_darcs/,/build/,/\.git/"

Reproducible: Always

Steps to Reproduce:
Try to search any term in files stored in a directory called e.g.
/home/bla/git/foo

Actual Results:  
it won't find any occurance due to the standard exclusion

Expected Results:  
occurances should be found

OS: Linux (x86_64) release 2.6.34-ARCH
Compiler: gcc

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic