RegexHelper class

A utility class that simplifies regex-based pattern matching.

The RegexHelper supports wildcard (*) expansion, converting it to a valid regular expression (.*) before testing. It’s mainly used by rule checkers to validate imports and file paths.

Constructors

RegexHelper()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

matchesPattern(String text, String pattern) bool
Checks if the given text matches the provided pattern.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited