What else could this have been besides match the character range from space to tilde?
I know there's some syntax I can use to create a zero width negative look behind recursive greedy named capture group back reference. Perhaps hyphen-tilde triggers something like that.
I don't think it is particularly bad though. It's just not the most trivial of regexes.