
2 May
2007
2 May
'07
8:11 a.m.
Lorenzo Bettini wrote:
I'll see whether this technique makes my regular expressions harder to read than a simple copy and paste solution.
I thought there might be a syntax for it because I read in the regex documentation, in the section "Character classes that are supported by Unicode Regular Expressions" these syntaxes
Ps Open Punctuation Pe Close Punctuation
and I thought they might be related (by the way, I actually did not understand what they're for, since there's no example).
[[:Ps:]] matches any opening punctuation [[:Pe:]] matches any closing punctuation Exactly what that means is defined by the Unicode std, and these are only supported by u32regex when Boost.Regex is built with ICU support enabled. John.