There are some times when I wish I were better at regexp and scripting.
Times when I am writing a similar kind of thing again and again, which is just different enough (and small enough number of repetitions) that it doesn't seem viable to make the script.
At those times, I tend to think - maybe Cursor would have done this part well - but have no real idea since I have never used it.
On the other hand, if I had a scripting endpoint from clang, ^[which would have taggified parts of code (in the same tone as "parts of speech") like functions declaration, return type, function name, type qualifier etc.], I would have used that to make a batch processor for even a repetition as small as 10 and wouldn't have thought once about AI.