src/regex/litopt

Literals optimization. This is about optimizing the find operation by quickly searching Regular Expression literals within the input string. See issue #59.

Types

LitOpt = object
  lit*: Rune
  lits*: string
  bytelits*: string
  nfa*: Nfa

Procs

func canOpt(litOpt: LitOpt): bool {....raises: [], tags: [].}
func litopt3(exp: RpnExp; flags: RegexFlags = {}): LitOpt {.
    ...raises: [RegexError], tags: [].}