llvm-project/libcxx/test/std/re/re.results
Duncan P. N. Exon Smith f42ef3efca re.results.form: Format out-of-range subexpression references as null
Rather than crashing in match_results::format() when a reference to a
marked subexpression is out of range, format the subexpression as empty
(i.e., replace it with an empty string).  Note that
match_results::operator[]() has a range-check and returns a null match
in this case, so this just re-uses that logic.

llvm-svn: 259682
2016-02-03 19:30:20 +00:00
..
re.results.acc
re.results.all
re.results.const
re.results.form re.results.form: Format out-of-range subexpression references as null 2016-02-03 19:30:20 +00:00
re.results.nonmember
re.results.size
re.results.state
re.results.swap
types.pass.cpp