fix a few "broken link" warnings (#20837)

This commit is contained in:
Andrey Makarov 2022-11-14 10:43:29 +03:00 • committed by GitHub
commit 3eef0491a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View file

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

View file

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