I\'m trying to parse mediawiki markup, specifically the one used in english wiktionary articles. It not being a programming language, the handling of whitespace and ne