I’m very new to sublime text 3, and I’m starting to play around with syntax highlighting. One thing I’ve found, which I don’t wether is a feature or bug (but please tell me if Iyou know) and that yet is really counterintuitive, is that in a match pattern with quantifiers on groups and context assigned to groups within the “captures:” section, the scope will only be assigned to the last capture by the group.
As an example, say I have a syntax with the following pattern
- match: "(blah,\\s*)++"
which then assings constant.language to capture 1.
If I apply it to the text blah, blah, blah,
, only the last “blah” will be highlighted, whereas I wish the three of them were.
What do you think? Should that be included as a feature: