https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70745
--- Comment #2 from Tim Shen <timshen at gcc dot gnu.org> --- Author: timshen Date: Sat Apr 23 03:58:37 2016 New Revision: 235382 URL: https://gcc.gnu.org/viewcvs?rev=235382&root=gcc&view=rev Log: 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. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/bits/regex_executor.tcc trunk/libstdc++-v3/testsuite/28_regex/regression.cc