Fix hyphens in regexp character classes

This commit fixes #59