pub fn parse(src: &str) -> Result<Pattern, ParseError>Expand description
Parse a trex pattern string into a Pattern.
ยงErrors
Returns a ParseError with a position and reason when the
pattern is malformed.
pub fn parse(src: &str) -> Result<Pattern, ParseError>Parse a trex pattern string into a Pattern.
Returns a ParseError with a position and reason when the
pattern is malformed.