simplified match function
refactored ComicSansFormatter, added CapsLockFormatter