mirror of
https://github.com/uowuo/abaddon.git
synced 2026-08-15 05:19:58 +00:00
slap a bunch of shit everywhere until the crashing stops
This commit is contained in:
1 parent
cfcb0d4e66
commit
0cdaea97dd
8 files changed
+52
-18
No files matched your search
@@ -214,8 +214,10 @@ std::string RegexReplaceMany(std::string str, std::string regexstr, F func) {
|
||||
|
||||
offset += diff;
|
||||
|
||||
std::get<0>(*(it + 1)) -= offset;
|
||||
std::get<1>(*(it + 1)) -= offset;
|
||||
if (it + 1 != matches.end()) {
|
||||
std::get<0>(*(it + 1)) -= offset;
|
||||
std::get<1>(*(it + 1)) -= offset;
|
||||
}
|
||||
}
|
||||
|
||||
return str;
|
||||
|
||||
Reference in new issue
Block a user