code: function PathPattern(options) {
      // The route string are compiled to a regexp (if it isn't already)
      this.regexp = options.regexp;
  
      // The query parameters specified in the path part of the route
      this.params = options.params;
  
      // The original routestring (optional)
      this.routeString = options.routeString;
    }
docs: The PathPattern constructor Takes a route string or regexp as parameter and provides a set of utility functions for matching against a location path