gcc/libstdc++-v3/testsuite
Tim Shen 7b86458e38 regex.h (regex_match<>, [...]): Change regex_executor caller.
2013-09-14  Tim Shen  <timshen91@gmail.com>

	* include/bits/regex.h (regex_match<>, regex_search<>):
	Change regex_executor caller. Now use their return value instead
	of checking __m[0].matched to find out if it's successful.
	(regex_search<>): Move the search logic to regex_executor.
	* include/bits/regex_automaton.h: Add some new _Opcode. Refactor
	_NFA::_M_insert_*.
	* include/bits/regex_automaton.tcc: Add DEBUG dump for new
	_Opcode. Refactor _NFA::_M_insert_*.
	* include/bits/regex_compiler.h (_Compiler<>::_M_get_nfa):
	Use make_shared instead of construct by hand.
	* include/bits/regex_compiler.tcc: Implement _Compiler<>::_M_assertion.
	* include/bits/regex_constants.h: Fix indentation and line breaking.
	* include/bits/regex_executor.h: Add _ResultsEntry to support
	greedy/ungreedy mode. Move regex_search logic here.
	* include/bits/regex_executor.tcc: Implement assertions and
	greedy/ungreedy matching.
	* include/bits/regex_scanner.h: Add a new token _S_token_ungreedy.
	* include/bits/regex_scanner.tcc: Parse a new token _S_token_ungreedy.
	* testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc: New.
	* testsuite/28_regex/algorithms/regex_search/ecma/greedy.cc: New.
	* testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc:
	Fix comment.

From-SVN: r202591
2013-09-14 14:23:44 +00:00
..
17_intro Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
18_support Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
19_diagnostics
20_util typeck2.c (store_init_value): Diagnose a non-constant initializer for in-class static. 2013-06-26 22:35:46 -04:00
21_strings re PR libstdc++/58163 ([C++11] Pedantic assert on str[str.size()] is wrong in C++11) 2013-08-15 00:15:12 +00:00
22_locale
23_containers re PR libstdc++/58148 (Fails to insert iterator range into sequence container with -D_GLIBCXX_DEBUG when conversion is needed) 2013-08-30 20:55:37 +00:00
24_iterators re PR libstdc++/58403 (__normal_iterator triggers odr-use) 2013-09-12 15:15:34 +00:00
25_algorithms re PR libstdc++/58358 (search_n has a Complexity violation for random access iterator) 2013-09-11 22:24:50 +00:00
26_numerics re PR libstdc++/58302 (compilation error : std::negative_binomial_distribution::operator(e, p)) 2013-09-03 10:12:19 +00:00
27_io
28_regex regex.h (regex_match<>, [...]): Change regex_executor caller. 2013-09-14 14:23:44 +00:00
29_atomics atomic (compare_exchange_weak, [...]): Add call to __cmpexch_failure_order. 2013-07-29 17:13:05 +00:00
30_threads re PR libstdc++/57641 (std::timed_mutex.try_lock_until() is broken) 2013-06-18 23:55:02 +01:00
abi
backward
config
data
decimal
ext re PR libstdc++/58415 (__sso_string_base move constructor does not null terminate local data when moving from empty string) 2013-09-13 18:32:42 +00:00
lib Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters re PR libstdc++/53477 (pretty printer fails with: Python Exception <type 'exceptions.IndexError'> list index out of range) 2013-08-20 19:20:42 +00:00
performance codecvt_members.cc: Fix typo. 2013-07-04 22:07:44 +01:00
tr1 re PR c++/54537 (undiagnosed using-declaration conflicting with used function) 2013-08-01 14:24:37 -05:00
tr2
util re PR libstdc++/57779 (vector insert fails to diagnose iterators pointing into *this in debug mode) 2013-08-01 19:54:46 +00:00
Makefile.am
Makefile.in Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00