[Top][All Lists]

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

[bug #14243] Basic regular expressions does not work

From: Bob Proulx
Subject: [bug #14243] Basic regular expressions does not work
Date: Sun, 21 Aug 2005 15:12:29 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.8) Gecko/20050814 Firefox/1.0.4 (Debian package 1.0.4-2sarge2)

Follow-up Comment #3, bug #14243 (project findutils):

Note that GNU grep uses an GNU regular expression engine which is compliant
with POSIX but extents it.  In particular \{ and \} are extensions.  Normally
those would not be valid escape sequences. Those invalid basic regular
expression sequences are used to enable {n,m} processing of extended regular
expressions.  By using GNU grep with \{3\) you are really escaping into
extended regular expressions and apparently not realizing it.

See this recent discussion of the regular expression type used in find.  It
has previously been Emacs RE-like and not POSIX RE-like.


And also see:




Reply to this item at:


  Message sent via/by Savannah

reply via email to

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