grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v2.10-87-gadaf678


From: Jim Meyering
Subject: grep branch, master, updated. v2.10-87-gadaf678
Date: Fri, 02 Mar 2012 06:44:56 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  adaf678d87a1c6369fd7ce444c5f8f2ede2b277e (commit)
      from  fff5850967ec10fa3e2e4a800031cb8e335e8fca (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=adaf678d87a1c6369fd7ce444c5f8f2ede2b277e


commit adaf678d87a1c6369fd7ce444c5f8f2ede2b277e
Author: Jim Meyering <address@hidden>
Date:   Wed Feb 29 11:04:18 2012 +0100

    doc: correct grep.1's descriptions of \w and \W (they omitted "_")
    
    * doc/grep.in.1: Fix descriptions of \w and \W.
    They did not mention "_".
    * doc/grep.texi (The Backslash Character and Special Expressions):
    [\w, \W]: List the "_" before the char class, not after: [_[:alnum:]],
    for readability and to be consistent with the man page.

diff --git a/doc/grep.in.1 b/doc/grep.in.1
index 65d3e3a..4cf1f17 100644
--- a/doc/grep.in.1
+++ b/doc/grep.in.1
@@ -717,11 +717,11 @@ at the edge of a word.
 The symbol
 .B \ew
 is a synonym for
-.B [[:alnum:]]
+.B [_[:alnum:]]
 and
 .B \eW
 is a synonym for
-.BR [^[:alnum:]] .
+.BR [^_[:alnum:]] .
 .SS Repetition
 A regular expression may be followed by one of several repetition operators:
 .PD 0
diff --git a/doc/grep.texi b/doc/grep.texi
index 5381a30..c014d8f 100644
--- a/doc/grep.texi
+++ b/doc/grep.texi
@@ -1377,10 +1377,10 @@ Match the empty string at the beginning of word.
 Match the empty string at the end of word.
 
 @item \w
-Match word constituent, it is a synonym for @samp{[[:alnum:]_]}.
+Match word constituent, it is a synonym for @samp{[_[:alnum:]]}.
 
 @item \W
-Match non-word constituent, it is a synonym for @samp{[^[:alnum:]_]}.
+Match non-word constituent, it is a synonym for @samp{[^_[:alnum:]]}.
 
 @item \s
 Match whitespace, it is a synonym for @samp{[[:space:]]}.

-----------------------------------------------------------------------

Summary of changes:
 doc/grep.in.1 |    4 ++--
 doc/grep.texi |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

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