Fix regexp/regsub hyphen parsing.

Not 100% sure this won't break other things (I'm really new to this), but it fixes #1 for me.