Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2007-09-03 07:38:37


Chandan Nilange wrote:
> 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.

I believe so, but deciding what the right behaviour should be is not
necessarily easy: Perl has the luxury that it controls File IO as well as
regexes: in contrast Boost.Regex is designed to accept text from all kinds
of sources and platforms. Most applications will in any case regard an
isolated \r or \n as a line break, as well as \r\n. Likewise in what sense
does a form-feed *not* start a new line? :-)

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