match static method

bool match(
  1. String uri
)

Test if a given uri matches a regular uri pattern

Implementation

static bool match(String uri) {
  return regularPattern.allMatches(uri).isNotEmpty;
}