Answer by Gilles 'SO- stop being evil' for Are there zero-width assertions in...
No, there aren't. You only have basic regular expressions, which only have character sets (. and […]), repetition (* and \{m,*n*\}), line anchors (^ and $) and grouping \(…\), plus backreferences \N....
View ArticleAre there zero-width assertions in sed?
Is it possible to make lookahead or lookbehind zero-width assertions in sed? I want to emulate Perl's (?=) and family. My sed is not GNU sed version 4.0.
View Article
More Pages to Explore .....