something like query.split/($re)/