]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR libstdc++/68863
authortimshen <timshen@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Dec 2015 04:50:29 +0000 (04:50 +0000)
committertimshen <timshen@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Dec 2015 04:50:29 +0000 (04:50 +0000)
commit482117409dbc2ff30ace1d760c4a5711444c2e38
treefe2c602d1e564ff187667484cd664744240ba9e6
parentd175f0193ed47b61eafd213ca2d3dde73f8f5996
PR libstdc++/68863
* include/bits/regex_executor.tcc (_Executor::_M_lookahead):
Copy the captured content for lookahead, so that the backreferences
inside can refer to them.
* testsuite/28_regex/algorithms/regex_match/ecma/char/68863.cc:
New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231641 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex_executor.tcc
libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/68863.cc [new file with mode: 0644]