def bare.c

bend-kit-notch@0.4.0.0 · notch.bend:122

import bend-kit-notch@0.4.0.0/notch.bend as Notch
import Base

122# A bare logfmt token has no whitespace, controls, '=', quote or DEL.
123def bare.c(+c: U32) -> Bool:
124  U32.is_lt(32, c) && U32.is_ne(c, 61) && U32.is_ne(c, 34) && U32.is_ne(c, 127) &&
125    U32.is_ne(c, 133) && U32.is_ne(c, 160) && U32.is_ne(c, 5760) &&
126    Bool.not(Bool.and(U32.is_ge(c, 8192), U32.is_le(c, 8202))) &&
127    Bool.not(Bool.and(U32.is_ge(c, 8232), U32.is_le(c, 8233))) &&
128    U32.is_ne(c, 8239) && U32.is_ne(c, 8287) && U32.is_ne(c, 12288)

Uses (8)

Used by (1)