Add tests for regex scanner.
Add character class tests.
Add character class scanning.
Add character class parsing.