|
Boost : |
From: John Maddock (john_at_[hidden])
Date: 2005-06-14 04:59:04
> The following trivial pattern:
>
> boost::regex pat("[\\D]");
>
> throws an "Invalid or trailing backslash" exception. This is in
> violation of the ECMAScript (ECMA-262) specification, section 15.10.1,
> which means Boost.Regex does not satisfy TR1. Known problem? Any
> intention to fix this?
Yes, known problem, don't know how to fix it easily either (for ECMA script
that doesn't handle locales or character classes that match anything outside
the ACSII range this is of course trivial, much harder if you do handle
those things though).
You're the first to complain about it as well BTW.
John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk