parameters: (self, text, flags=0)
docstring: :param text:    The text which should be scanned
          :param flags:   default regular expression flags
docstring_summary: :param text:    The text which should be scanned
          :param flags:   default regular expression flags
docstring_tokens: : param text : The text which should be scanned : param flags : default regular expression flags
function: def __init__(self, text, flags=0):
          """
          :param text:    The text which should be scanned
          :param flags:   default regular expression flags
          """
          self.data = text
          self.data_length = len(text)
          self.start_pos = 0
          self.pos = 0
          self.flags = flags
          self.last = None
          self.match = None
          self._re_cache = {}
function_tokens: def __init__ ( self , text , flags = 0 ) : self . data = text self . data_length = len ( text ) self . start_pos = 0 self . pos = 0 self . flags = flags self . last = None self . match = None self . _re_cache = { }