buggrep - Bugs: bug #17454, Man page should describe...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #17454: Man page should describe parentheses

Submitted by:  Tim Waugh <twaugh>
Submitted on:  Thu 17 Aug 2006 10:25:06 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Tue 22 Dec 2009 09:16:21 AM UTC, comment #1:

Precedence
Repetition takes precedence over concatenation, which in turn takes
precedence over alternation. A whole expression may be enclosed in
parentheses to override these precedence rules and form a
subexpression.

Back References and Subexpressions
The back-reference \n, where n is a single digit, matches the substring
previously matched by the nth parenthesized subexpression of the
regular expression.

Thank you for the bug report. This bug has been fixed in CVS and
in grep-2.5.4. You may download the latest release from:

ftp://ftp.gnu.org/gnu/grep/

Paolo Bonzini <bonzini>
Thu 17 Aug 2006 10:25:06 AM UTC, original submission:

Original bug report:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=202871

Grep's man page only reference to parentheses is that they lose their special meaning in basic regular expressions. There needs to be some descriptions about what parentheses do and how to use them.

Tim Waugh <twaugh>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bonzini (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 22 Dec 2009 09:16:21 AM UTCbonziniStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1