Added definitions of whitespace and other character classes.

Closes #108.