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); - */ }