On 16 Jul 2015, at 8:46, Jacob Carlborg wrote:
Is it possible in a language grammar to create a pattern that is based on another pattern?
This is not possible, but it is something I think would be good to have, see e.g. my thoughts on adding variables to grammars here: https://github.com/textmate/textmate/pull/1276#issuecomment-63450941