Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2008-02-21 04:55:14


Chandan Nilange wrote:
> I am restarting this old thread.
>
> My Question:
>
> How to modify Boost regex library, to match perl
> behavior, such that, I only get pattern matches
> after/before \n and ignore (\x0c)FF, (\x0d)CR
> for $ & ^ anchored patterns ?

If you really feel changing this is the right thing to do, then a bit of
trivial editing to the "is_separator" function in regex_traits_defaults.hpp
would do the job.

HTH, 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