https://bugzilla.wikimedia.org/show_bug.cgi?id=54563
--- Comment #3 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Looks good to me. If you have time, could you a) add a command line parameter for this option in the GeneratorFactory, and b) change the re.I and re.S to the full names (I think it's IGNORECASE and MULTILINE?)
Thanks!