Fix Regex::replace_all to actually do something

This commit is contained in:
Twan van Laarhoven
2020-04-20 21:18:40 +02:00
parent a5b2b77d2a
commit b0180547ae
3 changed files with 4 additions and 7 deletions
+1 -1
View File
@@ -85,7 +85,7 @@
inline bool matches(Results& results, const String::const_iterator& begin, const String::const_iterator& end) const {
return regex_search(begin, end, results, regex);
}
void replace_all(String* input, const String& format);
String replace_all(const String& input, const String& format) const;
inline bool empty() const {
return regex.empty();