diff options
author | flintforge <phil.estival@free.fr> | 2022-06-21 03:53:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-21 09:53:46 +0800 |
commit | 0ae44e562f693d270e3cad77675ce5f68474921d (patch) | |
tree | b1b18b669633800f42fe387465b8a8394898ff01 /lib | |
parent | 40464fa7626a616a3881c0b16a74b9ec7d788720 (diff) | |
download | Nim-0ae44e562f693d270e3cad77675ce5f68474921d.tar.gz |
fix typo in nre.nim (#19915)
Update nre.nim typo in proc replace description
Diffstat (limited to 'lib')
-rw-r--r-- | lib/impure/nre.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/impure/nre.nim b/lib/impure/nre.nim index 03cbf5220..1012c7c36 100644 --- a/lib/impure/nre.nim +++ b/lib/impure/nre.nim @@ -695,8 +695,7 @@ proc replace*(str: string, pattern: Regex, ## each match and the return value is the replacement value. ## ## If `subproc` is a `proc (string): string`, then it is executed with the - ## full text of the match and and the return value is the replacement - ## value. + ## full text of the match and the return value is the replacement value. ## ## If `subproc` is a string, the syntax is as follows: ## |