pub fn is_identifier(text: &str) -> bool
Whether text is an identifier: it matches ^[a-z0-9][a-z0-9_.-]{0,127}$.
text
^[a-z0-9][a-z0-9_.-]{0,127}$