Split off the specific regular expressions, and the specialized token-scanning functions, into their own files.