diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2010-10-31 22:56:15 +0100 |
---|---|---|
committer | Paolo Bonzini <bonzini@gnu.org> | 2010-10-31 22:56:30 +0100 |
commit | 9d5308764567707a70755de5357eb0ebfa126c0d (patch) | |
tree | de2f64650ecd6fbcf82949ca131627420f5fb404 | |
parent | 311bd56c6c9427fd6f565851542b0a51ee820005 (diff) | |
download | sed-9d5308764567707a70755de5357eb0ebfa126c0d.tar.gz |
2010-10-31 Gerald Pfeifer <gerald@pfeifer.com>
* doc/sed-in.texi (Extended regexps): Add '|' to the list of
differences. Note that "\|" is a GNU extension to begin with.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | doc/sed-in.texi | 10 |
2 files changed, 11 insertions, 4 deletions
@@ -1,3 +1,8 @@ +2010-10-31 Gerald Pfeifer <gerald@pfeifer.com> + + * doc/sed-in.texi (Extended regexps): Add '|' to the list of + differences. Note that "\|" is a GNU extension to begin with. + 2010-10-20 Paolo Bonzini <bonzini@gnu.org> * autoboot.conf: Add fwriting. diff --git a/doc/sed-in.texi b/doc/sed-in.texi index 1364100..9e7d806 100644 --- a/doc/sed-in.texi +++ b/doc/sed-in.texi @@ -2826,10 +2826,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: |