bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sed: extend documentation of extended regular expressions by '|'


From: Paolo Bonzini
Subject: Re: sed: extend documentation of extended regular expressions by '|'
Date: Sun, 31 Oct 2010 22:53:49 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.4

On 10/31/2010 10:52 PM, Gerald Pfeifer wrote:
  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.

Makes sense, thanks!

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]