Posnet/xkcd-substitutions — pull request #4 by prtinsley (2013-11-11 17:01:45+00:00)
Title: Changed regex to insensitive, while retaining case of original

This branch simplifies the matching array with a case-insensitive regex.

Rather than doing a direct replacement, it parses the original text, and modifies the case of the match. For example:
* Congressional Leaders -> Elf Lords
* Congressional leaders -> Elf lords