1 # Starting from sed 4.1.3, regexes are compiled with REG_NOSUB
2 # if they are used in an address, so that the matcher does not
3 # have to obey leftmost-longest. The tricky part is to recompile
4 # them if they are then used in a substitution.
5 /\(ab*\)\+/ s//>\1</g
6