davidgerard.co.uk
Staring into the eye of Cthulhu.
The MediaWiki wikitext parser is not a “parser” as such; it’s a pile of regular expressions, using PCRE as found in PHP. There are preprocessing and postprocessing steps. No forma…