re PR libstdc++/83601 (std::regex_replace C++14 conformance issue: escaping in SED...
authorTim Shen <timshen@google.com>
Sun, 14 Jan 2018 00:48:30 +0000 (00:48 +0000)
committerTim Shen <timshen@gcc.gnu.org>
Sun, 14 Jan 2018 00:48:30 +0000 (00:48 +0000)
commit8532713fc4ebeb6c7b1026bbdb4cf5ab61ff68e3
treedf57dc0ea70d3ae6154453406ec1331a276967cc
parent8bc5a5c57c44fbc1f2078f06bf62ad33436de13b
re PR libstdc++/83601 (std::regex_replace C++14 conformance issue: escaping in SED mode)

PR libstdc++/83601
* include/bits/regex.tcc (regex_replace): Fix escaping in sed.
* testsuite/28_regex/algorithms/regex_replace/char/pr83601.cc: Tests.
* testsuite/28_regex/algorithms/regex_replace/wchar_t/pr83601.cc: Tests.

From-SVN: r256654
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex.tcc
libstdc++-v3/testsuite/28_regex/algorithms/regex_replace/char/pr83601.cc [new file with mode: 0644]
libstdc++-v3/testsuite/28_regex/algorithms/regex_replace/wchar_t/pr83601.cc [new file with mode: 0644]