matches method

bool matches(
  1. Uri uri
)

Implementation

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