class_docstr: Simple scanner
  
  All method patterns are regular expression strings (not
  compiled expressions!)
docstr: :param text:    The text which should be scanned
  :param flags:   default regular expression flags
code: 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 = {}
  
file_path: catboost/contrib/python/Pygments/py2/pygments/scanner.py
imports: import re
label_desc: Use image node_id 1 to create a new Scanner object from inherited base classes: object with example: obj = Scanner(text, flags)