Re:Greppability is an underrated code metric
by f1shy on Tuesday September 03, 2024 @02:28AM
(#41431884)
For that use case I think you can use treesitter[1] you can find Dog.* but only if it is a variable name, for example. Avoiding replacement inside of say literals.
[1] https://www.youtube.com/watch?v=MZPR_SC9LzE