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