fix replacef typo in example

This commit is contained in:
Kobi 2019-02-09 15:12:59 +02:00 • committed by Andreas Rumpf
commit dd422bfb0f

View file

@ -451,7 +451,7 @@ proc replacef*(s: string, sub: Regex, by: string): string =
## ##
## .. code-block:: nim ## .. code-block:: nim
## ##
## "var1<-keykey; val2<-key2key2" ## "var1<-keykey; var2<-key2key2"
result = "" result = ""
var caps: array[MaxSubpatterns, string] var caps: array[MaxSubpatterns, string]
var prev = 0 var prev = 0