summary refs log tree commit diff stats
path: root/lib/impure/re.nim
diff options
context:
space:
mode:
authorLemonBoy <LemonBoy@users.noreply.github.com>2019-06-03 10:15:20 +0200
committerAndreas Rumpf <rumpf_a@web.de>2019-06-03 10:15:20 +0200
commit7d217a71d3679b58f74bb134add20d9b80750341 (patch)
treecb67f208b906d60bd11acb01c746efe6656c8e88 /lib/impure/re.nim
parent64518380a56b1a479f207e4e0c793c0c0539fde9 (diff)
downloadNim-7d217a71d3679b58f74bb134add20d9b80750341.tar.gz
Render deprecated pragmas (#8886)
* Render deprecated pragmas
* fix the expected html
* clean up the documentation regarding deprecations
* fix typo
* fix system.nim
* fix random
Diffstat (limited to 'lib/impure/re.nim')
-rw-r--r--lib/impure/re.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/impure/re.nim b/lib/impure/re.nim
index 34ccd8f1a..12a96ae95 100644
--- a/lib/impure/re.nim
+++ b/lib/impure/re.nim
@@ -485,10 +485,10 @@ proc multiReplace*(s: string, subs: openArray[
   add(result, substr(s, i))
 
 proc parallelReplace*(s: string, subs: openArray[
-                      tuple[pattern: Regex, repl: string]]): string {.deprecated.} =
+  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.
-  ## **Deprecated since version 0.18.0**: Use ``multiReplace`` instead.
   result = multiReplace(s, subs)
 
 proc transformFile*(infile, outfile: string,