Fix hyphens in regexp character classes