Macro nom::re_capture [−][src]
macro_rules! re_capture { ($i:expr, $re:expr) => { ... }; }
This is supported on crate features
regexp
and alloc
only.Expand description
re_capture!(regexp) => &[T] -> IResult<&[T], Vec<&[T]>>
Returns the capture groups of the first match.
Requires the regexp
feature.