def AaGlob.matches_ref.go
import bend-osdev-apparmor@0.1.0.0/glob.bend as Globimport Base
339# the same with the backtracking matcher (the reference)
340def AaGlob.matches_ref.go(alts: List<&2, List<&2, AaGTok>>, +s: List<&2, U32>) -> Bool:
341 match alts:
342 case Nil{}:
343 False{}
344 case Con{a, t}:
345 Bool.or(AaGSeq.matches(a, s), AaGlob.matches_ref.go(t, s))