Escaping a '/' in the ID regex. This was preventing handelbars.js from loading in Rhino.

This commit is contained in:
Mike Moulton
2011-03-01 00:20:22 -07:00
committed by Peter Wagenet
parent deac4f5141
commit 42e31ef6db
+1 -1
View File
@@ -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'; }