code: def t_CONSTANT(tok):  # pylint: disable=locally-disabled,invalid-name
          r'"([^"]+)"|\'([^\']+)\''
          tok.value = (tok.type, re.sub('["\']', '', tok.value))
          return tof t_CONSTANT(tok):  # pylint: disable=locally-disabled,invalid-name
          r'"([^"]+)"|\'([^\']+)\''
          tok.value = (tok.type, re.sub('["\']', '', tok.value))
          return tok
docs: r'"([^"]+)"|\'([^\']+)\