def get_other_chars(s, offset=0, stopchars=None):
    """ Scan the string `s` for characters not in `stopchars` starting
      at `offset` (default `0`).
      Return `(match,new_offset)`.
  """
    ooffset = offset
    while offset < len(s) and s[offset] not in stopchars:
        offset += 1
    return s[ooffset:offset], offset
