bool match(String? path) { if (path == null) { return false; } return _pathParser.firstMatch(path) != null; }