def match(path)
      m = path.match(@rx)
      Match.new(remaining_path(path, m), match_to_params(m)) if m
    end
def match(path)
      m = path.match(@rx)
      Match.new(remaining_path(path, m), match_to_params(m)) if m
    end
Creates a {StringMatcher}
 @param path [String] path specification
 Tries to match the actual path.
 @param path [String] the actual path from Rack env
 @return {Match} if the beginning of path does match or nil if there
 is no match.