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

Submitter:  Tim Waugh <twaugh>
Submitted:  Thu 17 Aug 2006 10:25:06 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-12-22 bonzini StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code