def bare.rest

ezx@1.11.0.0 · src/ez/named.bend:75

import ezx@1.11.0.0/src/ez/named.bend as Named
import Base
import ezx@1.11.0.0/src/ez/target.bend as Tgt

75# the rest of a TOML bare key: letters, digits, `-` and `_`
76def bare.rest(text: String) -> Bool:
77  match text:
78    case SNil{}:
79      True{}
80    case SCon{+h, t}:
81      bare.step(Tgt.plain.at(h), _u => bare.rest(t))

Uses (4)

Used by (1)