String split with indices in Python,"c = [(m.start(), m.end() - 1) for m in re.finditer('\\S+', a)]"