diff --git a/ChangeLog b/ChangeLog index fa01d68..6f42889 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ * doc/sed-in.texi (Extended regexps): Add '|' to the list of differences. Note that "\|" is a GNU extension to begin with. + * doc/sed.texi: Rebuild. 2010-10-20 Paolo Bonzini diff --git a/doc/sed.texi b/doc/sed.texi index 4fd261a..4a3b526 100644 --- a/doc/sed.texi +++ b/doc/sed.texi @@ -2993,10 +2993,12 @@ the @env{LC_COLLATE} and @env{LC_CTYPE} environment variables to @samp{C}. The only difference between basic and extended regular expressions is in the behavior of a few characters: @samp{?}, @samp{+}, parentheses, -and braces (@samp{@{@}}). While basic regular expressions require -these to be escaped if you want them to behave as special characters, -when using extended regular expressions you must escape them if -you want them @emph{to match a literal character}. +braces (@samp{@{@}}), and @samp{|}. While basic regular expressions +require these to be escaped if you want them to behave as special +characters, when using extended regular expressions you must escape +them if you want them @emph{to match a literal character}. @samp{|} +is special here because @samp{\|} is a GNU extension -- standard +basic regular expressions do not provide its functionality. @noindent Examples: