Simplified escaped character handling.
DSL for character classes.