WildcardMatcher class

Utilidad para matching de patrones con wildcards Soporte para el carácter '*' como comodín

Constructors

WildcardMatcher()

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

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

Static Methods

hasWildcards(Iterable<String> patterns) bool
Verifica si un conjunto de patrones contiene algún wildcard
matches(String text, String pattern) bool
Verifica si un texto coincide con un patrón que puede contener wildcards (*)
matchesAny(String text, Iterable<String> patterns) bool
Verifica si un texto coincide con cualquiera de los patrones en una lista
matchesExact(String text, String pattern) bool
Verifica si un texto coincide exactamente con un patrón que puede contener wildcards (*) A diferencia de matches, este método requiere que toda la cadena coincida