fix typo in nre.nim (#19915)

Update nre.nim

typo in proc replace description
This commit is contained in:
flintforge 2022-06-21 03:53:46 +02:00 • committed by GitHub
commit 0ae44e562f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -695,8 +695,7 @@ proc replace*(str: string, pattern: Regex,
## each match and the return value is the replacement value. ## each match and the return value is the replacement value.
## ##
## If `subproc` is a `proc (string): string`, then it is executed with the ## 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 ## full text of the match and the return value is the replacement value.
## value.
## ##
## If `subproc` is a string, the syntax is as follows: ## If `subproc` is a string, the syntax is as follows:
## ##