UrlLikeMatcher constructor

const UrlLikeMatcher([
  1. 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',
]);