Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2006-04-06 12:15:22


>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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net