Skip to main content

tokenize

Function tokenize 

Source
pub fn tokenize(pattern: &str) -> Vec<Token>
Expand description

Split a pattern into Tokens. An unclosed { degrades the remainder into a literal — pattern_problems rejects it at load; the matcher stays total.