6 Apr
2006
6 Apr
'06
4:15 p.m.
The expression "[^UuMmFf]*" will greedily match the input string. In the case of "x" or " " (space) the expression will match the whole string! There should not be a match on an empty string!
Considering these examples I would mark this as a bug!
The point here is that Boost-1.33.x aims to be Perl compatible, and wait for it... ** sed is not the same as perl ** Perl *does* match an additional empty string immediately after a previous match. Rightly or wrongly the behaviour is by design. John.