$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Chandan Nilange (chandan_nilange_at_[hidden])
Date: 2007-09-03 03:45:58
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 <john_at_[hidden]> wrote:
> Chandan Nilange wrote:
> >> Hello,
> >>
> >>  As per PCRE /m modifier $ will match the pattern
> before any newline.
> >>  However boost_regex gives back matches before
> 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_at_[hidden]
>
http://listarchives.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