From: Lorenzo Bettini (bettini_at_[hidden])
Date: 2007-05-02 08:32:37
John Maddock wrote:
> 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.
You mean something like ` and '?
-- Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com http://www.gnu.org/software/src-highlite http://www.gnu.org/software/gengetopt http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk