it wouldnt have to be a snippet exatly i used the term snippet in the english context not the sublime context
i have a file that contains a macro defnitions for various regular expression as follows maybe...
end = >=\s|^
or maybe they are in the language file itself with macro start= or i have macrofile= or both?
Now in my language definition file all i have to do is
match=($start)(obfuscated stuff here)($end)
and i when this language file is loaded the macros are expanded.