Escaping a '/' in the ID regex. This was preventing handelbars.js from loading in Rhino.
This commit is contained in:
committed by
Peter Wagenet
parent
deac4f5141
commit
42e31ef6db
+1
-1
@@ -27,7 +27,7 @@
|
||||
<mu>"true"/[}\s] { return 'BOOLEAN'; }
|
||||
<mu>"false"/[}\s] { return 'BOOLEAN'; }
|
||||
<mu>[0-9]+/[}\s] { return 'INTEGER'; }
|
||||
<mu>[a-zA-Z0-9_$-]+/[=}\s/.] { return 'ID'; }
|
||||
<mu>[a-zA-Z0-9_$-]+/[=}\s\/.] { return 'ID'; }
|
||||
<mu>\[.*\] { yytext = yytext.substr(1, yyleng-2); return 'ID'; }
|
||||
<mu>. { return 'INVALID'; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user