function_link matches everything until the next closed parenthesis
Closed this issue · 1 comments
fargiolas commented
It seems that function_link pattern is a bit fragile if the opening parenthesis is not closed as expected.
In particular it matches multiple lines and eats up other tags. Here's an emacs screenshot showing the problem.
I guess it would be better to either stop at new line (not sure if doxygen autolink matches function names on multiple lines) or maybe at the next '@' or '\' tag instead of blindly matching from one parenthesis to the next no matter what's in between.
amaanq commented
I have no clue either, but I agree it'd be a better experience to have it not over-consume across multiple lines, this is fixed now