diff options
author | Jose E. Marchesi <jemarch@gnu.org> | 2014-03-26 20:39:56 +0100 |
---|---|---|
committer | Jose E. Marchesi <jemarch@gnu.org> | 2014-03-26 20:39:56 +0100 |
commit | 274476c8610a25974c9a3050222d0576bf4a2652 (patch) | |
tree | fba5eb89bba6966f5d3bf87b4cee573b89af266f /doc | |
parent | 8b65e07904384b529a464c89f3739d2e7e4d5135 (diff) | |
download | sed-274476c8610a25974c9a3050222d0576bf4a2652.tar.gz |
Avoid a little potential misunderstanding in the Regular Expressions section of the manual.
2014-03-26 Jose E. Marchesi <jemarch@gnu.org>
* doc/sed.texi (Regular Expressions): avoid a potential
misunderstanding in the description of the \| operator.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/sed.texi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/sed.texi b/doc/sed.texi index a86ac6d..6f1ce01 100644 --- a/doc/sed.texi +++ b/doc/sed.texi @@ -808,11 +808,11 @@ symbols, equivalence classes, and character classes, respectively, and @item @var{regexp1}\|@var{regexp2} @cindex @acronym{GNU} extensions, to basic regular expressions -Matches either @var{regexp1} or @var{regexp2}. Use -parentheses to use complex alternative regular expressions. -The matching process tries each alternative in turn, from -left to right, and the first one that succeeds is used. -It is a @acronym{GNU} extension. +Matches either @var{regexp1} or @var{regexp2}. Use escaped +parentheses to use complex alternative regular expressions. The +matching process tries each alternative in turn, from left to right, +and the first one that succeeds is used. It is a @acronym{GNU} +extension. @item @var{regexp1}@var{regexp2} Matches the concatenation of @var{regexp1} and @var{regexp2}. |