diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | doc/sed.texi | 10 |
2 files changed, 10 insertions, 5 deletions
@@ -1,3 +1,8 @@ +2014-03-26 Jose E. Marchesi <jemarch@gnu.org> + + * doc/sed.texi (Regular Expressions): avoid a potential + misunderstanding in the description of the \| operator. + 2013-10-16 David A. Wheeler <dwheeler@dwheeler.com> * doc/sed-in.texi: Document "-E" option to use EREs. GNU sed already 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}. |