diff --git a/src/handlebars.l b/src/handlebars.l index b32e39c6..5fa2bc0d 100644 --- a/src/handlebars.l +++ b/src/handlebars.l @@ -47,7 +47,7 @@ '['[^\]]*']' { yytext = yytext.substr(1, yyleng-2); return 'ID'; } . { return 'INVALID'; } \s+ { /*ignore whitespace*/ } -[a-zA-Z0-9_$-/]+ { this.popState(); return 'PARTIAL_NAME'; } +[a-zA-Z0-9_$-\/]+ { this.popState(); return 'PARTIAL_NAME'; } <> { return 'EOF'; }