Hello John,
I not very clear.
So do you mean that -
$ & ^ matching pattern after/before any (\x0c)FF,
(\x0d)CR is right PCRE /m modifier behaviour.
Regards,
Chandan
--- John Maddock
Hello,
As per PCRE /m modifier $ will match the pattern before any newline. However boost_regex gives back matches before
Chandan Nilange wrote: formfeed(\x0c) &
CarriagReturn(\x0d) Same is observed for ^ i.e match after newline.
Yes, it regards any "vertical whitespace" as being suitable for a $ or ^ match: however if you have a \r\n sequence, then it will *not* match in the middle of that sequence.
I do recall extending the list of characters that will form a line boundary recently, but not whether it was for Perl or Unicode compatibility :-(
Ah, here we are:
http://unicode.org/unicode/reports/tr18/#Line_Boundaries,
remember that all the sequences given really do indicate a line boundary in most cases.
John.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users
____________________________________________________________________________________ Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545469