regex - Sublime Spintax Syntax Highlighting -
can me improve regex 'spintax' syntax highlighting in sublime?
it's working it's slow load, think because regex being greedy. 4 level of spintax depth tho, going beyond make load longer.
maybe i'm putting sublime syntax wrong, there way make faster , go infinite depth?
main: - match: '({{0,1}[^{}]*?)({{0,1}[^{}]*?){[^{}]*}([^{}]*}{0,1})([^{}]*}{0,1})' captures: 4: variable.language 3: keyword 2: keyword 1: variable.language 0: string
spintext example:
Comments
Post a Comment