More generally, I find that ctags are surprisingly underpowered even for robust semanticless searcher. I believe it should be easy to build a significantly more powerful tool (comment with details).
+1 in fact @matklad it was your comment that has me thinking about this a bit more. I’ve been messing around with Tree Sitter and was doing some initial comparisons with ctags which is how I came across this interesting behaviour. Hopefully more to come on this subject :)
This is exciting!