Re.matches: def of yaml-for-bend@0.1.1.0 Import: import yaml-for-bend@0.1.1.0/re.bend as Re Lines 108-110 of yaml-for-bend@0.1.1.0/re.bend: https://jend.leeeet.dev/read.txt?path=yaml-for-bend@0.1.1.0/re.bend&start_line=108&end_line=110 import Base # Whether all of +s+ matches +ps+. def matches(ps: List<&2, Pat>, +s: String) -> Bool: run(Nat.mul(Nat.add(String.length(s), 2n), 64n), ps, s) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.mul https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.length https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/re.bend&name=Pat https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/re.bend&name=run