forked from OSchip/llvm-project
48c63d879b
Summary: Currently when a regular expression contains an invalid character class name std::regex constructors throw an std::regex_error with std::regex_constants::error_brack code. This patch changes the code to std::regex_constants::error_ctype and adds a test. Reviewers: EricWF, mclow.lists Reviewed By: mclow.lists Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D42291 llvm-svn: 323322 |
||
---|---|---|
.. | ||
re.alg | ||
re.badexp | ||
re.const | ||
re.def | ||
re.general | ||
re.grammar | ||
re.iter | ||
re.regex | ||
re.req | ||
re.results | ||
re.submatch | ||
re.syn | ||
re.traits | ||
nothing_to_do.pass.cpp |