This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/58576] std::regex_match() reports mismatched braces on a valid regex
- From: "timshen at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 01 Oct 2013 15:26:52 +0000
- Subject: [Bug libstdc++/58576] std::regex_match() reports mismatched braces on a valid regex
- Auto-submitted: auto-generated
- References: <bug-58576-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58576
--- Comment #4 from Tim Shen <timshen at gcc dot gnu.org> ---
Author: timshen
Date: Tue Oct 1 15:26:50 2013
New Revision: 203067
URL: http://gcc.gnu.org/viewcvs?rev=203067&root=gcc&view=rev
Log:
2013-10-01 Tim Shen <timshen91@gmail.com>
PR libstdc++/58576
* include/bits/regex_automaton.tcc (_NFA<>::_M_eliminate_dummy)
(_StateSeq<>::_M_clone): Add _S_opcode_subexpr_lookahead branch.
* testsuite/28_regex/algorithms/regex_match/ecma/char/58576.cc: New.
Added:
trunk/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/58576.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/regex_automaton.tcc