From dcf725d228ea0bd7720fc35b735b685badafded6 Mon Sep 17 00:00:00 2001 From: Kobi Date: Sat, 9 Feb 2019 15:12:59 +0200 Subject: [PATCH] fix replacef typo in example --- lib/impure/re.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/impure/re.nim b/lib/impure/re.nim index 42be4a3c29..4f32cd5fb9 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