PathMatcher.regex constructor
PathMatcher.regex(})
Creates a Regex-based PathMatcher from a regular expression pattern.
Implementation
factory PathMatcher.regex(
String pattern, {
bool caseSensitive = true,
bool unicode = false,
bool dotAll = false,
}) {
return RegexPathMatcher(
RegExp(
pattern,
caseSensitive: caseSensitive,
unicode: unicode,
dotAll: dotAll,
),
);
}