Boost logo

Boost Users :

Subject: Re: [Boost-users] [Regex] Is it possible to match any "linebreak"
From: Christoph Duelli (duelli_at_[hidden])
Date: 2012-03-23 08:51:54


John Maddock wrote:
[snip]
>> In short: ([^\\R+]) does not seem to capture all non-linebreak
>> characters. Should it? Or is this just a misunderstanding on my part?
>
> No you can't do that, \R isn't a character class, it's much more complex
> than that - look at the link above to see what it maps to - something like
> [^\x0A-\x0D\x85\x{2028}\x{2029}] would be closer to the inverse.
>
> HTH, John.
Ok, Thank you.


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