It appears the BBCode parsing engine only pattern matches to the start of a BBCode and doesn't check for the closing square bracket, resulting in false matches and incorrect output.
For example, posting the follow
In the resultant output, the quoted text inside the square brackets,
[I tell people to drill down into that index]
goes missing and all remain text is italicized.