added character escaping to CharRange

GitHub issue #6 - java.util.regex.PatternSyntaxException: Unclosed character class near index