Ah you're right. I was only thinking of simple direct variables. For cases where a variable loads from various things, it should be pretty much open for one line. Then handle multi-line and nested dictionaries.
And nope, just blind-vision missed your pastebin originally. I'll look at it in regex and test/add it in 19a, but given you are using the modding system and *tested* in the online regex already, I'm gonna say your version is the most robust and correct. =D