diff options
author | Marek Suppa <mr@shu.io> | 2020-11-10 15:48:55 +0100 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2020-12-29 19:41:06 -0800 |
commit | 181f1647f7250d3a7c104bf1d7ce4a3fafa19e3b (patch) | |
tree | f1c34b464ad11b6e0ae68beac45cad9ce01db1e2 /doc | |
parent | 5326b0898022635d90f81aa63100acd7eaab75d1 (diff) | |
download | grep-181f1647f7250d3a7c104bf1d7ce4a3fafa19e3b.tar.gz |
doc: fix missing right curly brace
* doc/grep.texi (Basic vs Extended Regular Expressions): Mention that
the right curly brace (}) meta-character must be backslash-escaped.
It had been omitted from the list.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/grep.texi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/grep.texi b/doc/grep.texi index fce36cdf..35cd3810 100644 --- a/doc/grep.texi +++ b/doc/grep.texi @@ -1530,9 +1530,9 @@ back-references are local to each expression. @section Basic vs Extended Regular Expressions @cindex basic regular expressions -In basic regular expressions the meta-characters @samp{?}, @samp{+}, -@samp{@{}, @samp{|}, @samp{(}, and @samp{)} lose their special meaning; -instead use the backslashed versions @samp{\?}, @samp{\+}, @samp{\@{}, +In basic regular expressions the meta-characters @samp{?}, @samp{+}, @samp{@{}, +@samp{@}}, @samp{|}, @samp{(}, and @samp{)} lose their special meaning; instead +use the backslashed versions @samp{\?}, @samp{\+}, @samp{\@{}, @samp{\@}}, @samp{\|}, @samp{\(}, and @samp{\)}. @cindex interval specifications |