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
parent 40464fa762
commit 0ae44e562f

View File

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