Crate nom_regex[−][src]
Expand description
Parser combinators that use regular expressions.
Modules
Regular expression parser combinators for bytes.
Regular expression parser combinators for strings.
Macros
re_bytes_capture!(regexp) => &[T] -> IResult<&[T], Vec<&[T]>>
Returns the capture groups of the first match.
re_bytes_captures!(regexp) => &[T] -> IResult<&[T], Vec<Vec<&[T]>>>
Returns the capture groups of all matches.
re_bytes_find!(regexp) => &[T] -> IResult<&[T], &[T]>
Returns the first match.
re_bytes_match!(regexp) => &[T] -> IResult<&[T], &[T]>
Returns the whole input if a match is found.
re_bytes_matches!(regexp) => &[T] -> IResult<&[T], Vec<&[T]>>
Returns all the matched parts.
re_capture!(regexp) => &[T] -> IResult<&[T], Vec<&[T]>>
Returns the capture groups of the first match.
re_captures!(regexp) => &[T] -> IResult<&[T], Vec<Vec<&[T]>>>
Returns the capture groups of all matches.
re_find!(regexp) => &[T] -> IResult<&[T], &[T]>
Returns the first match.
re_match!(regexp) => &[T] -> IResult<&[T], &[T]>
Returns the whole input if a match is found.
re_matches!(regexp) => &[T] -> IResult<&[T], Vec<&[T]>>
Returns all the matched parts.