gcc/libstdc++-v3
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
..
config gnu-versioned-namespace.ver: Add thunk _ZTv0_n12_NS* like in gnu.ver. 2013-09-10 18:17:25 +02:00
doc Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
include regex.h (regex_match<>, [...]): Change regex_executor caller. 2013-09-14 14:23:44 +00:00
libsupc++ Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
po Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
python 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
scripts Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
src compatibility.cc (_ZTIe): Use reinterpret_cast<const cast *> to avoid -Wcast-qual warnings. 2013-08-14 16:59:46 +02:00
testsuite regex.h (regex_match<>, [...]): Change regex_executor caller. 2013-09-14 14:23:44 +00:00
ChangeLog regex.h (regex_match<>, [...]): Change regex_executor caller. 2013-09-14 14:23:44 +00:00
ChangeLog-1998 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-1999 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2000 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2001 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2002 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2003 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2004 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2005 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2006 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2007 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2008 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2009 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2010 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2011 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
ChangeLog-2012 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
Makefile.am Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
Makefile.in Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
README
acinclude.m4 Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
aclocal.m4 acinclude.m4 (GLIBCXX_ENABLE_PARALLEL): Remove ENABLE_PARALLEL. 2012-09-28 19:48:27 +00:00
config.h.in Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
configure Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
configure.ac Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
configure.host codecvt_members.cc: Fix typo. 2013-07-04 22:07:44 +01:00
crossconfig.m4 crossconfig.m4: Add support for cygwin x64 target. 2013-03-27 22:56:57 +01:00
fragment.am Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
linkage.m4 linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE): New. 2013-02-11 12:50:13 -05:00

README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.