Skip to main content

is_well_formed_id

Function is_well_formed_id 

Source
fn is_well_formed_id(s: &str) -> bool
Expand description

Return true if s is a well-formed transport ID.

According to the specification, a well-formed transport ID follows the same rules as a C99 identifier: It must follow the regular expression [a-zA-Z_][a-zA-Z0-9_]*.