The mwparserfromhell library allows bot developers to focus on actual code instead of regexes.
It should probably be required for many features in pywikibot, not only on *nix.
Automatic Windows builds are worked on upstream: https://github.com/earwig/mwparserfromhell/issues/95