Changed legacy referernces to reg_expression to basic_regex

[SVN r26740]
This commit is contained in:
John Maddock
2005-01-19 13:29:43 +00:00
parent b7cb69bae3
commit 018fbfec05
2 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ namespace bl{
double time_match(const std::string& re, const std::string& text, bool icase)
{
boost::reg_expression<char, boost::cpp_regex_traits<char> > e(re, (icase ? boost::regex::perl | boost::regex::icase : boost::regex::perl));
boost::basic_regex<char, boost::cpp_regex_traits<char> > e(re, (icase ? boost::regex::perl | boost::regex::icase : boost::regex::perl));
boost::smatch what;
boost::timer tim;
int iter = 1;
@ -55,7 +55,7 @@ bool dummy_grep_proc(const boost::smatch&)
double time_find_all(const std::string& re, const std::string& text, bool icase)
{
boost::reg_expression<char, boost::cpp_regex_traits<char> > e(re, (icase ? boost::regex::perl | boost::regex::icase : boost::regex::perl));
boost::basic_regex<char, boost::cpp_regex_traits<char> > e(re, (icase ? boost::regex::perl | boost::regex::icase : boost::regex::perl));
boost::smatch what;
boost::timer tim;
int iter = 1;