https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71500
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-08-29
Ever confirmed|0 |1
--- Comment #15 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Another testcase from Bug 77492:
#include <iostream>
#include <regex>
using namespace std;
void check(const string& s, regex re) {
cout << s << " : " << (regex_match(s, re) ? "Match" : "Nope") << endl;
}
int main() {
regex re1 = regex("([a-z]+) \\1", regex::icase);
check("abc abc", re1);
check("Abc abc", re1);
check("abc Abc", re1);
}
output:
abc abc : Match
Abc abc : Nope
abc Abc : Nope
Tim, your patch didn't change the behaviour for this - is that expected?