def is_match.bytes.bits

bend-kit-regex@0.8.0.0 · regex.bend:2337

import bend-kit-regex@0.8.0.0/regex.bend as Regex
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

2337# The bit NFA form of is_match over Bytes, or None when the program does not allow it.
2338def is_match.bytes.bits(re: Regex, b: Bytes.Bytes) -> Bytes.Bytes & Maybe<&2, Bool>:
2339  Regex{prog, fuel, slots, start, bt, asc, plain, must, reverse} = re
2340  bits.bytes.if(bt, start, asc, b)

Uses (6)

Used by (1)