Handle correctly `-` at the set end as in `[+-]`