As part of some data migration I\'m converting user content from bbcode to markdown.
I\'m doing the conversion in a custom MySQL 8.0.22 function, which contains the f