diff options
author | Joachim Hereth <7327644+jhereth@users.noreply.github.com> | 2023-12-02 22:41:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-02 22:41:53 +0100 |
commit | d5780a3e4ee9f2275a5253c55525ce5ead89efb2 (patch) | |
tree | ace94e0c356dfd6c03a2fe8dd19cbb4ce8c47940 /lib/std/private/jsutils.nim | |
parent | a25843cf8010db92de4e95e734e11208f36fea86 (diff) | |
download | Nim-d5780a3e4ee9f2275a5253c55525ce5ead89efb2.tar.gz |
strutils.multiReplace: Making order of replacement explicit (#23022)
In the docs for strutils.multiReplace: Making it more explicit that left to right comes before the order in the replacements arg (but that the latter matters too). E.g. ``` echo "ab".multiReplace(@[("a", "1"), ("ax", "2")]) echo "ab".multiReplace(@[("ab", "2"), ("a", "1")]) ``` gives ``` 1b 2 ``` resolves #23016
Diffstat (limited to 'lib/std/private/jsutils.nim')
0 files changed, 0 insertions, 0 deletions