id summary reporter owner description type status milestone component version severity resolution keywords cc 1749 regex_match on filesystem iterator.leaf () leads to strange results in what[] christopher.lang@… John Maddock " Code fragment: {{{ boost::smatch what; boost::regex e (""^(tty:)(tty.+)$""); for (fs::directory_iterator itr_l2 (*itr_l1); itr_l2 != end_itr; ++itr_l2) { ... match = boost::regex_match ((*itr_l2).leaf(), what, e); leads to incorrect results in what[0], what[1]... when match occurs. }}} libboost_filesystem.so.1.33.1 libboost_regex.so.1.33.1 Suse 10.1 " Bugs closed regex Problem invalid filesystem path iterator