pub trait RegexPattern: InnerRegexPattern {
type Match;
// Required method
fn get_match(points: Range<usize>, pattern: PatternID) -> Self::Match;
}Expand description
A regex pattern to search for
It can either be a single &str, or a list of &strs, in which
case the matched pattern will be specified.
Required Associated Types§
Sourcetype Match
type Match
Eiter a Range<usize> or (usize, Range<usize>)
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.