def seg
import ezx@1.11.0.0/src/ez/target.bend as Targetimport Base
140# one segment of a GitHub shorthand: letters, digits, `-`, `_` and `.`, at
141# least one of them, and not `.` or `..`, which name a directory
142def seg(text: String) -> Bool:
143 match text:
144 case SNil{}:
145 False{}
146 case SCon{+h, t}:
147 seg.first(kind(h), t)