Support literal dash in character classes

I failed to parse character classes that have a leading or trailing dash
character (for specifying a literal dash).
Release v0.2.4