addParser(string $name, string $pattern, string $replace, string $content)
as well as addHtmlParser()
They could both also work with $replace being a callable.
Sometimes you need this in order to also apply some formatting or logic based on the parsed arguments.
Right now this seems not possible as is.
What do you think?