mirror of https://github.com/kiwix/libkiwix.git
+ remove useless comment
This commit is contained in:
parent
72e62fab6b
commit
fb1d0893e3
|
@ -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);
|
||||
*/
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue