fix char_class, typo in andOr

* brute force character classes
* fix undefined op typo
* test case to cover both