def is_alpha
import yaml-for-bend@0.1.1.0/re.bend as Reimport Base
38# [[:alpha:]] as Onigmo reads it: ASCII letters, and letters past ASCII.
39def is_alpha(+x: U32) -> Bool:
40 Bool.or(Bool.or(between(x, 65, 90), between(x, 97, 122)),
41 Bool.or(between(x, 170, 170), Bool.or(between(x, 181, 181), Bool.or(between(x, 186, 186),
42 Bool.and(U32.is_ge(x, 192), Bool.and(Bool.not(U32.is_eq(x, 215)), Bool.not(U32.is_eq(x, 247))))))))