Yes, and IIRC in some SQLs `$thing` is also meaningful, but only plain `$$` strings can clash with keywords that are going to be looked up in the table.
Oh yeah, totally, and these can also be keywords and looked up in the table - I just added support to the parser for C-preprocessor-like ifdefs here
https://github.com/universal-ctags/ctags/pull/3654
Just too many different things happening after `$` in various SQL dialects.
Yeah, but since this patch limits the damage, we can assign implementing the proper solution to "somebody" else 😁
My plan :-).