diff --git a/src/handlebars.l b/src/handlebars.l index 57ebb902..71c023e3 100644 --- a/src/handlebars.l +++ b/src/handlebars.l @@ -27,7 +27,7 @@ "true"/[}\s] { return 'BOOLEAN'; } "false"/[}\s] { return 'BOOLEAN'; } [0-9]+/[}\s] { return 'INTEGER'; } -[a-zA-Z0-9_$-]+/[=}\s/.] { return 'ID'; } +[a-zA-Z0-9_$-]+/[=}\s\/.] { return 'ID'; } \[.*\] { yytext = yytext.substr(1, yyleng-2); return 'ID'; } . { return 'INVALID'; }