From 5b96eaa9533e877b5b7f2c6bf1e291ccdfdfecef Mon Sep 17 00:00:00 2001 From: Araq Date: Sun, 10 Jul 2011 15:48:13 +0200 Subject: preparations for 0.8.12 --- lib/impure/re.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/impure') diff --git a/lib/impure/re.nim b/lib/impure/re.nim index eaa712f01..635fab0db 100755 --- a/lib/impure/re.nim +++ b/lib/impure/re.nim @@ -287,7 +287,7 @@ proc replacef*(s: string, sub: TRegEx, by: string): string = ## with the notation ``$i`` and ``$#`` (see strutils.`%`). Examples: ## ## .. code-block:: nimrod - ## "var1=key; var2=key2".replace(re"(\w+)'='(\w+)", "$1<-$2$2") + ## "var1=key; var2=key2".replacef(re"(\w+)'='(\w+)", "$1<-$2$2") ## ## Results in: ## -- cgit 1.4.1-2-gfad0