> Is it even possible to support generalized string interpolation within a strictly regular lexical grammar?
Almost certainly not, a fun exercise is to attempt to devise a Pumping tactic for your proposed language. If it doesn’t exist, it’s not regular.
https://en.m.wikipedia.org/wiki/Pumping_lemma_for_regular_la...