Hello,
I am attempting to create a snippet in my syntax file to highlight SAS macrovariables. These are structures that are effectively balanced parentheses, where ( = & and ) = ., and there can be digits and letters and underscores.
For example: &&my&variable…_01
The regex would match &&my&variable…
I have a regex that does this when I search: &(?:\w*|(?0))*.
When i try to put this in the syntax file as &(?:\w*|(?0))*.
I get the following error: Error in regex: undefined group option in regex &(?:\w*|(?0))*.
Can anyone suggest an alternate regex that Sublime Text 3 can handle?
Thanks!