From: Philippe E. <ph...@us...> - 2003-12-29 20:49:18
|
Update of /cvsroot/oprofile/oprofile/libregex In directory sc8-pr-cvs1:/tmp/cvs-serv7223/libregex Modified Files: Tag: BRANCH_CALLGRAPH op_regex.cpp Log Message: merge from trunk to call graph branch Index: op_regex.cpp =================================================================== RCS file: /cvsroot/oprofile/oprofile/libregex/op_regex.cpp,v retrieving revision 1.7.2.4 retrieving revision 1.7.2.5 diff -u -p -d -r1.7.2.4 -r1.7.2.5 --- op_regex.cpp 14 Sep 2003 23:57:04 -0000 1.7.2.4 +++ op_regex.cpp 29 Dec 2003 20:48:35 -0000 1.7.2.5 @@ -23,12 +23,6 @@ using namespace std; namespace { -bad_regex::bad_regex(string const & pattern) - : op_exception(pattern) -{ -} - - string op_regerror(int err, regex_t const & regexp) { size_t needed_size = regerror(err, ®exp, 0, 0); @@ -74,6 +68,12 @@ size_t subexpr_index(char ch) } } // anonymous namespace + + +bad_regex::bad_regex(string const & pattern) + : op_exception(pattern) +{ +} regular_expression_replace::regular_expression_replace(size_t limit_, |