fix typo in nre.nim (#19915)
Update nre.nim typo in proc replace description
This commit is contained in:
parent
40464fa762
commit
0ae44e562f
1 changed files with 1 additions and 2 deletions
|
|
@ -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:
|
||||
##
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue