
Hello John, Thanks, this has solved my problem. I am using boost library to verify regex engine built in hardware(ASIC), hence I need to match with the exact behaviour of hardware. New Question ============= I was wondering how did, you verify, the boost regex engine? I would be glad, if you would provide some details (test stimuls, checker etc.) of the same. Regards, Chandan --- John Maddock <john@johnmaddock.co.uk> wrote:
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 mailing list Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users
____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs