Updated History.

Added additional tests for regexes that are supposed to be empty.
Added additional test cases for non-greedy repeats.


[SVN r30605]
This commit is contained in:
John Maddock
2005-08-19 16:12:45 +00:00
parent c39176085b
commit 233f083720
5 changed files with 85 additions and 0 deletions

View File

@ -60,6 +60,12 @@ void do_test(const charT& c, const tagT& tag)
#ifndef BOOST_NO_STD_LOCALE
test_info<charT>::set_typename(typeid(boost::basic_regex<charT, boost::cpp_regex_traits<charT> >).name());
boost::basic_regex<charT, boost::cpp_regex_traits<charT> > e1;
static bool done_empty_test = false;
if(done_empty_test == false)
{
test_empty(e1);
done_empty_test = true;
}
if(test_locale::cpp_locale_state() == test_locale::test_with_locale)
e1.imbue(test_locale::cpp_locale());
if(test_locale::cpp_locale_state() != test_locale::no_test)