Skip to main content

is_identifier

Function is_identifier 

Source
pub fn is_identifier(text: &str) -> bool
Expand description

Whether text is an identifier: it matches ^[a-z0-9][a-z0-9_.-]{0,127}$.