RegExpDialect class
Represents a dialect. Compiles it on construction.
Constructors
Properties
Methods
-
getPattern(
String pattern) → RegExp -
Returns a compiled RegExp
pattern
, using$words
in dialect. -
getWordErrorMessage(
String word) → String? -
getWordErrorPattern(
String word) → String? -
getWordPattern(
String? word) → RegExp? -
Returns RegExp pattern for
word
. Will cache RegExp instances. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withParameters(
{bool? multiLine = false, bool? caseSensitive = true, bool throwCompilationErrors = true}) → RegExpDialect -
Returns a copy of this instance with parameters
multiLine
andcaseSensitive
. If this instance already have the same parameters returns this instance.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited