reopen 287682
thanks

On 2011-08-04 14:12, Debian Bug Tracking System wrote:
| 287682: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=287682
| Debian Bug Tracking System
| Contact [email protected] with problems

| Date: Thu, 4 Aug 2011 16:10:01 +0200 (CEST)
| From: Santiago Vila <[email protected]>
| To: Jari Aalto <[email protected]>
| cc: [email protected]
| Subject: Re: diff: -I options documentation for "regexp" is wrong
| 
| On Wed, 29 Dec 2004, Jari Aalto wrote:
| 
| > Package: diff
| > Version: 2.8.1-7
| > Severity: normal
| > 
| > 
| > Manua page reads:
| >  
| >       -I RE  --ignore-matching-lines=RE
| >               Ignore changes whose lines all match RE.
| > 
| > However, this is not the "normal" regexp, but only half hearted
| > grep-compatible regexps.
| > 
| > There should be a note, that egrep-style constructs like grouping are
| > not supported.
| 
| Later in this bug report you said that diff does not support
| "grouping", and one of the authors (Andreas Schwab) says it does.
| 
| It seems you read "regular expression" and you expect "egrep syntax".
| I don't think "regular expression" necessarily means "egrep syntax",
| so I do not consider this to be a bug.

The text is not clear/ precise enough as there is possiblility for
misunderstanding[*].

In the year of 2011, the regexps people understand/expect to use are
those of class of "egrep" as found in many of the programming
languages.

Please document in the manual page to say that RE does not refer to
"extended regular expressions".

Jari

[*] I'm a actually a bit confused. Grouping "()" is part of of the
extended regular expressions. To my knowledge "()" is not part of
"grep(1)" syntax.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to