def exec.bytes
bend-kit-regex@0.8.0.0 · regex.bend:2259
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
2259def exec.bytes(re: Regex, b: Bytes.Bytes, +any: Bool) -> Bytes.Bytes & Maybe<&2, List<&2, Maybe<&2, U32>>>:
2260 Regex{+prog, +fuel, +slots, +start, bits, +asc, plain, must, reverse} = re
2261 +sl = Bool.pick(Nat, any, 0n, slots)
2262 exec.bytes.must(must, reverse, b, plain, prog, fuel, List.replicate(Maybe<&2, U32>, sl, None{}), start, asc, any, sl)