Macro nom::re_capture

source ·
macro_rules! re_capture {
    ($i:expr, $re:expr) => { ... };
}
Available 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.