fix replacef typo in example

This commit is contained in:
Kobi
2019-02-09 15:12:59 +02:00
committed by GitHub
parent c6fdf93c7f
commit dcf725d228

View File

@@ -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