re PR libstdc++/61227 ([C++11] Regex [\w] does not work)
authorTim Shen <timshen91@gmail.com>
Tue, 20 May 2014 04:31:54 +0000 (04:31 +0000)
committerTim Shen <timshen@gcc.gnu.org>
Tue, 20 May 2014 04:31:54 +0000 (04:31 +0000)
commit4dae67e09042d48c5f330d540d5fdde5f51db656
tree74895c6c4d3b7bd0cb06ef89d5dfe1ac83f3449f
parentb9b7e07c270c2788f8ee4dd63b48ec00cd5f75bc
re PR libstdc++/61227 ([C++11] Regex [\w] does not work)

2014-05-20  Tim Shen  <timshen91@gmail.com>

PR libstdc++/61227
* include/bits/regex_compiler.h
(_BracketMatcher<>::_M_add_character_class): Add negative character
class support.
* include/bits/regex_compiler.tcc (_BracketMatcher<>::_M_apply):
Likewise.
* testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc:
Add more testcases.

From-SVN: r210630
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex_compiler.h
libstdc++-v3/include/bits/regex_compiler.tcc
libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc