prefixmatches

Types

PrefixMatch {...}{.pure.} = enum
  None,                     ## no prefix detected
  Abbrev,                   ## prefix is an abbreviation of the symbol
  Substr,                   ## prefix is a substring of the symbol
  Prefix                     ## prefix does match the symbol
Source Edit

Procs

proc prefixMatch(p, s: string): PrefixMatch {...}{.raises: [], tags: [].}
Source Edit

© 2006–2021 Andreas Rumpf
Licensed under the MIT License.
https://nim-lang.org/docs/compiler/prefixmatches.html