Skip to content

Commit

Permalink
includes/std: Fixed std::string::replace truncating output incorrec…
Browse files Browse the repository at this point in the history
…tly (#157)
paxcut authored Sep 10, 2023
1 parent 8eed75d commit 7fba66a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/std/string.pat
Original file line number Diff line number Diff line change
@@ -230,6 +230,7 @@ namespace std::string {
i = i + 1;
}
}
result = result + std::string::substr(string,string_len-pattern_len-1,pattern_len);

return result;
};

0 comments on commit 7fba66a

Please sign in to comment.