I'm committing this patch to close the recently submitted bug report.

* doc/grep.texi (The Backslash Character and Special Expressions):
Document \s and \S escapes.
---
 doc/grep.texi |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/doc/grep.texi b/doc/grep.texi
index 9ee4bc4..890ba1b 100644
--- a/doc/grep.texi
+++ b/doc/grep.texi
@@ -1334,6 +1334,12 @@ Match word constituent, it is a synonym for 
@samp{[[:alnum:]]}.
 @item @samp{\W}
 Match non-word constituent, it is a synonym for @samp{[^[:alnum:]]}.
 
+...@item @samp{\s}
+Match whitespace, it is a synonym for @samp{[[:space:]]}.
+
+...@item @samp{\S}
+Match non-whitespace, it is a synonym for @samp{[^[:space:]]}.
+
 @end table
 
 For example, @samp{\brat\b} matches the separate word @samp{rat},
-- 
1.7.1


Reply via email to