diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/impure/re.nim | 2 | ||||
-rw-r--r-- | lib/pure/pegs.nim | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/impure/re.nim b/lib/impure/re.nim index 8b9de0c68..c647b9442 100644 --- a/lib/impure/re.nim +++ b/lib/impure/re.nim @@ -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 diff --git a/lib/pure/pegs.nim b/lib/pure/pegs.nim index 28a0677b9..5827b7444 100644 --- a/lib/pure/pegs.nim +++ b/lib/pure/pegs.nim @@ -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 |