fix a few "broken link" warnings (#20837)
This commit is contained in:
parent
7db0d2bb58
commit
3eef0491a8
6 changed files with 6 additions and 6 deletions
|
|
@ -436,7 +436,7 @@ iterator findAll*(buf: cstring, pattern: Regex, start = 0, bufSize: int): string
|
|||
|
||||
proc findAll*(s: string, pattern: Regex, start = 0): seq[string] {.inline.} =
|
||||
## returns all matching `substrings` of `s` that match `pattern`.
|
||||
## If it does not match, @[] is returned.
|
||||
## If it does not match, `@[]` is returned.
|
||||
result = @[]
|
||||
for x in findAll(s, pattern, start): result.add x
|
||||
|
||||
|
|
|
|||
|
|
@ -1172,7 +1172,7 @@ iterator findAll*(s: string, pattern: Peg, start = 0): string =
|
|||
func findAll*(s: string, pattern: Peg, start = 0): seq[string] {.
|
||||
rtl, extern: "npegs$1".} =
|
||||
## returns all matching *substrings* of `s` that match `pattern`.
|
||||
## If it does not match, @[] is returned.
|
||||
## If it does not match, `@[]` is returned.
|
||||
result = @[]
|
||||
for it in findAll(s, pattern, start): result.add it
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue