UrlLikeMatcher constructor
const
UrlLikeMatcher([
- String pattern = '(?:https?:)?(?://)?$_kUrlPattern'
Creates a UrlLikeMatcher for parsing URLs.
The preset pattern is overwritten if a custom pattern is provided.
Implementation
const UrlLikeMatcher([
super.pattern = '(?:https?:)?(?://)?$_kUrlPattern',
]);