Thanks guys ^_^ So, shall we get the conclusion that: What sed does is correct according to POSIX, and VIM or PERL or some others still need a bit improve on handling zero-length matches?
On Wed, May 4, 2011 at 7:03 AM, Ben Schmidt <[email protected]>wrote: > perl returns '1a11c1', BTW! >> > > Mmm. It's a bit debatable whether the second 1 in the 11 represents an > overlapping match or not. That's the problem with zero-length matches > that aren't solidly anchored; there are a lot of funny edge cases. > > Ben. > > > -- > You received this message from the "vim_use" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
