Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2003-10-14 07:03:43


> I see that Regex++ always treats ^ and $ as start and end of line
> rather than start and end of buffer. Perl does this only if the /m
> switch is used. Is there a simple way to switch between these two
> interpretations when compiling a regex?

No but you can use \A and \z for that purpose.

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