docs: def parse_values(text):
      """
      Parses values from a string containing values from extended format `INSERT
      INTO` statement. Values will be yielded from the function as tuples, with
      one tuple per row in the table.
  
      :param text: Text extracted from MySQL's `INSERT INTO` statement containing
                   quoted and comma separated column values.
      :type text: str
      """
      assert text.startswith("(")
      pos = 1
      values = []
      text_len = len(text)
      while pos < text_len:
          match = VALUE_PATTERN.match(text, pos)
          if not match:
              break
          value = match.group(1)
          values.append(decode_mysql_literal(value.strip()))
          pos += len(value) + 1
          if match.group(2) == ")":
              # Skip comma and open parenthesis ",("
              pos += 2
              yield tuple(values)
              values = []