Struct scan_rules::scanner::runtime::ScanRegex [] [src]

pub struct ScanRegex<Then>(_, _);

Runtime scanner that slices the input based on a regular expression.

See: re, re_a, re_str.

Trait Implementations

impl<'a, Then> ScanStr<'a> for ScanRegex<Then> where Then: ScanStr<'a>
[src]

type Output = Then::Output

The type that the implementation scans into.

fn scan(&mut self, s: &'a str) -> Result<(Self::Output, usize)ScanErrorKind>

Perform a scan on the given input. Read more