id summary reporter owner description type status milestone component version severity resolution keywords cc 8304 Regex not matching case in character ranges if collate flag specified dave@… John Maddock "If the regex::collate option is specified regular expressions do not seem to be matching case with character ranges, e.g. {{{ boost::wregex test( L""res[A-Z]+"", boost::regex::collate ); bool bMatch = boost::regex_search( L""resource"", test ); }}} I would not expect the collate flag to change the result of the code above. However, if the collate flag is specified bMatch is set to true and without it the result is false. Similar code using Visual Studio 2010 and the MS regex implementation works as I expect, ie the collate flag does not effect the result, e.g. {{{ std::tr1::wregex test( L""res[A-Z]+"", std::tr1::regex_constants::collate ); bool bMatch = std::tr1::regex_search( L""resource"", test ); }}} " Bugs closed To Be Determined regex Boost 1.51.0 Problem invalid