From fb1d0893e3a8b4369cd36fcafcbc49d2003f6439 Mon Sep 17 00:00:00 2001 From: kelson42 Date: Thu, 22 Dec 2011 11:25:59 +0000 Subject: [PATCH] + remove useless comment --- src/common/regexTools.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/common/regexTools.cpp b/src/common/regexTools.cpp index acfc3f85a..c4b157ef6 100644 --- a/src/common/regexTools.cpp +++ b/src/common/regexTools.cpp @@ -63,18 +63,5 @@ void appendToFirstOccurence(std::string &content, const std::string regex, cons UErrorCode status = U_ZERO_ERROR; content.insert(matcher->start(status), replacement); } - - /* - regmatch_t matchs[1]; - regex_t regexp; - - regcomp(®exp, regex.data(), REG_ICASE); - if (!regexec(®exp, content.data(), 1, matchs, 0)) { - if (matchs[0].rm_so > 0) - content.insert(matchs[0].rm_eo, replacement); - } - - regfree(®exp); - */ }