]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/testsuite/28_regex/regression.cc
re PR libstdc++/70745 (Wrong handling of regex_constant::match_not_eow and regex_cons...
authorTim Shen <timshen@google.com>
Sat, 23 Apr 2016 03:58:37 +0000 (03:58 +0000)
committerTim Shen <timshen@gcc.gnu.org>
Sat, 23 Apr 2016 03:58:37 +0000 (03:58 +0000)
commit216f7526fef4db4a7f6510f4d48827bb4c55fc64
tree6ff3a147d66e5120aa632460f7333ace19ca6a52
parentab0fc037f01de923b69f3c72c717af680ac6066f
re PR libstdc++/70745 (Wrong handling of regex_constant::match_not_eow and regex_constant::match_not_bow)

PR libstdc++/70745
* include/bits/regex_executor.tcc (_Executor<>::_M_word_boundary):
Fix the match_not_bow and match_not_eow behavior.
* testsuite/28_regex/regression.cc: Add testcase.

From-SVN: r235382
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex_executor.tcc
libstdc++-v3/testsuite/28_regex/regression.cc