Enum regex_syntax::hir::RepetitionRange
source · [−]Expand description
The kind of a counted repetition operator.
Variants
Exactly(u32)
Matches a sub-expression exactly this many times.
AtLeast(u32)
Matches a sub-expression at least this many times.
Bounded(u32, u32)
Matches a sub-expression at least m
times and at most n
times.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RepetitionRange
impl Send for RepetitionRange
impl Sync for RepetitionRange
impl Unpin for RepetitionRange
impl UnwindSafe for RepetitionRange
Blanket Implementations
Mutably borrows from an owned value. Read more