Skip to main content

is_rule_id

Function is_rule_id 

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

Is s shaped like a greenfield-reference rule id — R followed by <digits>.<digits> (e.g. R2.3, R0.1)? Syntax only; whether the id actually exists in the reference is known_rule_ids’s job.