From dd422bfb0f7cdd2f3b87c5d2367ead0307be308d Mon Sep 17 00:00:00 2001
From: Kobi <kobi2187@gmail.com>
Date: Sat, 9 Feb 2019 15:12:59 +0200
Subject: fix replacef typo in example

---
 lib/impure/re.nim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'lib/impure/re.nim')

diff --git a/lib/impure/re.nim b/lib/impure/re.nim
index 42be4a3c2..4f32cd5fb 100644
--- a/lib/impure/re.nim
+++ b/lib/impure/re.nim
@@ -451,7 +451,7 @@ proc replacef*(s: string, sub: Regex, by: string): string =
   ##
   ## .. code-block:: nim
   ##
-  ## "var1<-keykey; val2<-key2key2"
+  ## "var1<-keykey; var2<-key2key2"
   result = ""
   var caps: array[MaxSubpatterns, string]
   var prev = 0
-- 
cgit 1.4.1-2-gfad0