Re: repair comb-quoting

"[email protected] [sed-users]" <[email protected]> 22 Jan 2016 14:18:16 -0800
Newsgroups gmane.editors.sed.user
Message-ID <[email protected]>
 

---In [email protected], <maillists-yahoo@...> wrote :
 
> my sed does not have the option "-E",
> so i had to add change it a bit:
 > 
              "(> )*" --> "[> ]*"
 

 Note the above transformation is not equivalent.  They mean entirely different things.
 

 in your sed you try to accommodate the regex as
 

  (> )*  -->    \(> \)\1*  assuming at least one > space pair.
 

 while the regex
 

 [> ]* --> can mean any sequence of > or spaces & not necessarily the repeat of > space
 , though that would be just one special case of that.
 





[Non-text portions of this message have been removed]