There are 30+ bugs related to the interpretation of syntax in IABot. IABot uses its own parsing code.
My idea is to migrate much of the parsing code to a reliable external parsing library. Parsoid is an obvious choice.
The ideal outcome for this task is the creation of an abstract wiki document object that IABot would interact with, rather than applying regular expressions directly to text.