diff options
author | Kobi <kobi2187@gmail.com> | 2019-02-09 15:12:59 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-02-13 23:30:14 +0100 |
commit | dd422bfb0f7cdd2f3b87c5d2367ead0307be308d (patch) | |
tree | 5d4ba4c5fe511809b7415ee9485802aa650d2dd5 /lib/impure/re.nim | |
parent | f55d094cf2121ca376e0d972639598c65633943b (diff) | |
download | Nim-dd422bfb0f7cdd2f3b87c5d2367ead0307be308d.tar.gz |
fix replacef typo in example
Diffstat (limited to 'lib/impure/re.nim')
-rw-r--r-- | lib/impure/re.nim | 2 |
1 files changed, 1 insertions, 1 deletions
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 |