Parse a route pattern into an array of tokens. These tokes can be used to match routes, or print them with semantic information.
Token types
Value (val) refers to the segment value
end refers to be the suffix or the segment (if any)
The route pattern to parse
Optional
Optional route matchers
Array of parsed route tokens
Parse a route pattern into an array of tokens. These tokes can be used to match routes, or print them with semantic information.
Token types
Value (val) refers to the segment value
end refers to be the suffix or the segment (if any)