
14 Jun
2005
14 Jun
'05
9:59 a.m.
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.