id summary reporter owner description type status milestone component version severity resolution keywords cc 6735 Regex pattern matching with wrong string adarshanto@… John Maddock "Hi, I am comparing the regular expression ""[0-9]+"" with the string ""1.2"" I am expecting the comparison to be a failure as part of the following check in ConfigReader.cpp if (false == var.CheckValue(tValue)) { throw(FormatDisallowed(name, var.m_Allowed, tValue)); } However, looks like CheckValue() is returning a success -> which is incorrect. I added a print after the checkValue to verify it (which got hit) Same is the case for ""[0-9]+"" and ""123abc"" Please let me know if I am missing something OR is it a known issue. thanks, Adarsh. Tried using gdb. Results follows: ======================== (gdb) p var.m_Allowed $12 = { static npos = 4294967295, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x9b98f14 ""[0-9]+"" } } (gdb) p tValue $13 = { static npos = 4294967295, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x9ba54d4 ""1.2"" } }" Bugs closed To Be Determined regex Boost 1.44.0 Not Applicable invalid regex