bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #31330] Possible RegEx bug in locate


From: anonymous
Subject: [bug #31330] Possible RegEx bug in locate
Date: Thu, 14 Oct 2010 14:04:17 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729)

URL:
  <http://savannah.gnu.org/bugs/?31330>

                 Summary: Possible RegEx bug in locate
                 Project: findutils
            Submitted by: None
            Submitted on: Thu 14 Oct 2010 02:04:15 PM UTC
                Category: locate
                Severity: 3 - Normal
              Item Group: Wrong result
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: John Muir
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.5.9
           Fixed Release: None

    _______________________________________________________

Details:

I may be mistaken, but surely the last two hits don't satisfy the regular
expression?

locate -ir .*/c/wrk/.*/src.*/grep\..*$
/cygdrive/c/c/wrk/Grep/src/Grep.java
/cygdrive/c/c/wrk/Grep/src/GrepSimplePattern.java
/cygdrive/c/c/wrk/Grep/src/GrepVisitor.java

(cut 'n' pasted from a Cygwin window)




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31330>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]