bug-grep
[Top][All Lists]
Advanced

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

[bug #32412] Error parsing a pattern including "( ??? |+)"


From: Paolo Bonzini
Subject: [bug #32412] Error parsing a pattern including "( ??? |+)"
Date: Mon, 28 Feb 2011 08:38:34 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110103 Fedora/3.6.13-1.fc14 Firefox/3.6.13

Update of bug #32412 (project grep):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

The plus is a special character in extended regular expressions, so whenever
you want to treat it as a literal "+" you should escape it.  Even though grep
will sometimes try to second guess syntactically invalid regular expressions,
the correct solution is to use '^(-|+)RA$' as you did.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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