class_docstr: Matches requests with paths specified by ``path_pattern`` regex.
class_docstr_tok: ["Matches","requests","with","paths","specified","by","``","path_pattern","``","regex","."]
code: def reverse(self, *args):
      if self._path is None:
          raise ValueError(
              "Cannot reverse url regex " + self.regex.pattern
          )
      assert len(args) == self._group_count, (
          "required number of arguments " "not found"
      )
      if not len(args):
          return self._path
      converted_args = []
      for a in args:
          if not isinstance(a, (unicode_type, bytes)):
              a = str(a)
          converted_args.append(url_escape(utf8(a), plus=False))
      return self._path % tuple(converted_args)
  
imports: from __future__ import absolute_import, division, print_function
  import re
  from functools import partial
  from tornado import httputil
  from tornado.httpserver import _CallableAdapter
  from tornado.escape import url_escape, url_unescape, utf8
  from tornado.log import app_log
  from tornado.util import basestring_type, import_object, re_unescape, unicode_type
label_desc: Use image node_id 3 for calling the PathMatches obj's underlying member method code with example usage: obj.reverse() and returns: unknown, self