summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarek Suppa <mr@shu.io>2020-11-10 15:48:55 +0100
committerJim Meyering <meyering@fb.com>2020-12-29 19:41:06 -0800
commit181f1647f7250d3a7c104bf1d7ce4a3fafa19e3b (patch)
treef1c34b464ad11b6e0ae68beac45cad9ce01db1e2 /doc
parent5326b0898022635d90f81aa63100acd7eaab75d1 (diff)
downloadgrep-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.texi6
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