id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 13493,boost::regex doesn't accept a regular expression anymore,sebastian.panek@…,John Maddock,"I recently switched from Boost 1.61 to Boost 1.66 and discovered the following problem with boost::regex in 1.66: A regular expression is recognized as erroneous, i. e. after construction boost::regex::status() returns a value != 0, but the same expression was accepted in previous boost versions. Calling boost::regex_search() with such a erroneous boost::regex object leads to a crash. The expression is: {{{ ([0-9]*)\.([0-9]*)(\.([0-9]*)(\.([0-9]*))?)? }}} My C++ code looks as follows: {{{ static const boost::regex versionRegex( ""([0-9]*)\\.([0-9]*)(\\.([0-9]*)(\\.([0-9]*))?)?"" ); assert( versionRegex.status() == 0 && ""the regular expression must be valid"" ); }}} After switching the boost version to 1.66 the assertion above fails.",Bugs,new,To Be Determined,regex,Boost 1.66.0,Regression,,,Sebastian Panek