Implement bracket expression.
authorTim Shen <timshen91@gmail.com>
Sat, 3 Aug 2013 14:32:54 +0000 (14:32 +0000)
committerTim Shen <timshen@gcc.gnu.org>
Sat, 3 Aug 2013 14:32:54 +0000 (14:32 +0000)
commit399eeef9786cb661aa86981ee9e7a9f3dec373d6
treecd6382282eec0df5837cd32d833217284b86cf42
parentcdaa808aedfc4b5363197ac119ef976a5d66e5a4
Implement bracket expression.

2013-08-03  Tim Shen  <timshen91@gmail.com>

Implement bracket expression.
* include/bits/regex.h: Remove constexpr from "|=", etc.
* include/bits/regex_compiler.h: Parse bracket expression.
* include/bits/regex_nfa.h: _Comparator and _BracketMatcher(old
_RangeMatcher).
* include/bits/regex_nfa.tcc: Implement them.
* testsuite/28_regex/algorithms/regex_match/extended/53622.cc:
from regex_search to regex_match.
* testsuite/28_regex/algorithms/regex_match/extended/
cstring_bracket_01.cc: New.

From-SVN: r201465
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/regex.h
libstdc++-v3/include/bits/regex_compiler.h
libstdc++-v3/include/bits/regex_nfa.h
libstdc++-v3/include/bits/regex_nfa.tcc
libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/53622.cc
libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/cstring_bracket_01.cc [new file with mode: 0644]