mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-23 07:45:23 +00:00
fix typo in nre.nim (#19915)
Update nre.nim typo in proc replace description
This commit is contained in:
@@ -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:
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user