Implemented regex character classes