bug-grep
[Top][All Lists]
Advanced

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

Re: lowercase letters for binaries


From: Charles Levert
Subject: Re: lowercase letters for binaries
Date: Sun, 6 Nov 2005 17:13:35 -0500
User-agent: Mutt/1.4.1i

* On Sunday 2005-11-06 at 22:48:30 +0100, Andreas Schwab wrote:
> Note that POSIX does not allow back-references in EREs,

You're right.  I didn't notice that because
GNU grep does support them (from GNU regex).


> only in BREs which don't have alternation.

Is that the justification?  Strictly speaking,
yes, '([xy])z\1' can always be replaced by
'xzx|yzy', but with more complicated cases,
back-references can seriously cut down the
complexity of a regular expression.




reply via email to

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