diff options
author | Miran <narimiran@disroot.org> | 2020-06-17 15:25:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-17 15:25:02 +0200 |
commit | e7f280bd26a54b4f187b087c8d35f43f0e6328c7 (patch) | |
tree | 59ceb2dc34d14e8b983722ef9092632737d3a033 /lib/impure | |
parent | 861953429362d72a76fe3768a25db3f8a1cf70ee (diff) | |
download | Nim-e7f280bd26a54b4f187b087c8d35f43f0e6328c7.tar.gz |
Remove deprecated stuff from stdlib (#14699)
* update to the latest Jester * remove deprecated procs from some stdlib modules * 'criterion' is not maintained anymore and relies on obsolete stuff
Diffstat (limited to 'lib/impure')
-rw-r--r-- | lib/impure/re.nim | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/impure/re.nim b/lib/impure/re.nim index c520fa833..1a6622677 100644 --- a/lib/impure/re.nim +++ b/lib/impure/re.nim @@ -483,13 +483,6 @@ proc multiReplace*(s: string, subs: openArray[ # copy the rest: add(result, substr(s, i)) -proc parallelReplace*(s: string, subs: openArray[ - tuple[pattern: Regex, repl: string]]): string {.deprecated: - "Deprecated since v0.18.0: Use ``multiReplace`` instead.".} = - ## Returns a modified copy of ``s`` with the substitutions in ``subs`` - ## applied in parallel. - result = multiReplace(s, subs) - proc transformFile*(infile, outfile: string, subs: openArray[tuple[pattern: Regex, repl: string]]) = ## reads in the file ``infile``, performs a parallel replacement (calls |