procmail
[Top] [All Lists]

Re: sed substitute (was: hex value in condition)

1997-08-10 16:57:00
On Mon, 11 Aug 1997 07:21:17 +0900, Mitsuru Furukawa <furu(_at_)009(_dot_)com>
wrote:
Jim Irwin <jirwin(_at_)mail(_dot_)netshop(_dot_)net> wrote:
 Jim> As sed uses Basic Regular Expressions, the '+' has to be
 Jim> backslashed in order to acquire metacharacter status -
 Jim> i.e.- 'r\+'.
This sed did not match while "/^__* $HENSHIN __*$/" did.
Am I making any other mistake here?

Stock sed doesn't have + in any form. The \+ is a nonstandard
extension, probably from GNU sed. 

/* era */

Can we move this discussion somewhere else? 

-- 
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r.  <http://www.iki.fi/~era/>
 * Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>

<Prev in Thread] Current Thread [Next in Thread>