matches method

bool matches(
  1. Uri uri
)

Implementation

bool matches(Uri uri) {
  return _regExp.hasMatch(uri.host.toString());
}