Skip to main content

is_local_name

Function is_local_name 

Source
pub fn is_local_name(local: &str) -> bool
Expand description

Whether local can be written, unescaped, as the local part of a prefixed name (PN_LOCAL in Turtle, TriG, N3 and SPARQL). The empty local name (ex:) is valid; %XX escapes are accepted, backslash escapes are not produced.