
5 Apr
2008
5 Apr
'08
2:41 p.m.
and another one: the regex::ECMAScript has value 0, so it can not be tested for in the following way: void show_flags(const std::tr1::regex& rrgx) { if ((rrgx.flags() & std::tr1::regex::ECMAScript) == std::tr1::regex::ECMAScript) { //always true, since it has value 0 } }