Move PopToken into an unnamed namespace.
- Use nullptr instead of NULL.
- Start using lambdas to remove helper functors.
Remove USE_PCRE blocks. PCRE is no longer used.