You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using regex_iterator template in our build2 toolchain project we have discovered that for some regular expressions the end iterator can never be reached.
The issue can be reproduced with the following code:
std::string s ("foo");
std::regex re (".*");
using it = std::regex_iteratorstd::string::const_iterator;
for (it i (s.begin (), s.end (), re), e; i != e; ++i) ; // Hangs.
The text was updated successfully, but these errors were encountered:
Extended Description
While using regex_iterator template in our build2 toolchain project we have discovered that for some regular expressions the end iterator can never be reached.
The issue can be reproduced with the following code:
std::string s ("foo");
std::regex re (".*");
using it = std::regex_iteratorstd::string::const_iterator;
for (it i (s.begin (), s.end (), re), e; i != e; ++i) ; // Hangs.
The text was updated successfully, but these errors were encountered: