parameters: (self, regex, token_type, result_mode=None, line_start=False)
docstring: Create a new matcher template.
  
      Args:
        regex: The regular expression to match.
        token_type: The type of token a successful match indicates.
        result_mode: What mode to change to after a successful match.  Defaults to
          None, which means to not change the current mode.
        line_start: Whether this matcher should only match string at the start
          of a line.
docstring_summary: Create a new matcher template.
docstring_tokens: Create a new matcher template .
function: def __init__(self, regex, token_type, result_mode=None, line_start=False):
      """Create a new matcher template.
  
      Args:
        regex: The regular expression to match.
        token_type: The type of token a successful match indicates.
        result_mode: What mode to change to after a successful match.  Defaults to
          None, which means to not change the current mode.
        line_start: Whether this matcher should only match string at the start
          of a line.
      """
      self.regex = regex
      self.type = token_type
      self.result_mode = result_mode
      self.line_start = line_start
function_tokens: def __init__ ( self , regex , token_type , result_mode = None , line_start = False ) : self . regex = regex self . type = token_type self . result_mode = result_mode self . line_start = line_start