def scan.char
import bend-kit-regex@0.8.0.0/regex.bend as Regeximport Base
1081def scan.char(c: Maybe<&2, Char>, neg: Bool, set: List<&2, Item>, +pc: U32, caps: List<&2, Maybe<&2, U32>>, items: List<&2, Th>, best: Maybe<&2, List<&2, Maybe<&2, U32>>>) -> Sc:
1082 match c:
1083 case None{}:
1084 Sc{items, best, False{}}
1085 case Some{Chr{+x}}:
1086 scan.set(Bool.xor(neg, items.has(set, x)), pc, caps, items, best)