Fix for shitty JS regex engines.
This commit is contained in:
+2
-2
@@ -3,8 +3,8 @@
|
||||
|
||||
%%
|
||||
|
||||
(.|\s)*?/("{{") { this.begin("mu"); if (yytext) return 'CONTENT'; }
|
||||
(.|\s)+ { return 'CONTENT'; }
|
||||
[.\s]*?/("{{") { this.begin("mu"); if (yytext) return 'CONTENT'; }
|
||||
[.|\s]+ { return 'CONTENT'; }
|
||||
|
||||
<mu>"{{>" { return 'OPEN_PARTIAL'; }
|
||||
<mu>"{{#" { return 'OPEN_BLOCK'; }
|
||||
|
||||
Reference in New Issue
Block a user