summary refs log tree commit diff stats
path: root/lib/impure/nre.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/impure/nre.nim')
-rw-r--r--lib/impure/nre.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/impure/nre.nim b/lib/impure/nre.nim
index 03cbf5220..1012c7c36 100644
--- a/lib/impure/nre.nim
+++ b/lib/impure/nre.nim
@@ -695,8 +695,7 @@ proc replace*(str: string, pattern: Regex,
   ## each match and the return value is the replacement value.
   ##
   ## If `subproc` is a `proc (string): string`, then it is executed with the
-  ## full text of the match and and the return value is the replacement
-  ## value.
+  ## full text of the match and the return value is the replacement value.
   ##
   ## If `subproc` is a string, the syntax is as follows:
   ##