StaticrepeatCreates a new GroupPattern with the specified sub-pattern and quantifier.
StaticnewCreates a new GroupPattern with a quantifier that matches exactly once.
Gets the sub-pattern of this group pattern.
Gets the quantifier of this group pattern.
Returns true if the pattern matches the haystack.
Returns true if the Display of the matcher is complex, i.e. contains nested patterns or other complex structures that require its text rendering to be surrounded by grouping parentheses.
Returns a string representation of an object.
Hash code for use in Maps/Sets.
A pattern that matches with repetition.
Corresponds to the Rust
GroupPatternstruct in repeat_pattern.rs