sindresorhus / pupa

Simple micro templating

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not support dash in variable names

peteruithoven opened this issue · comments

The current regular expression does not match with variables that include dashes (-).

I understand it's debatable whether foo-bar is a valid JS identifier or key path, but it (kebab case) is quite a commonly used syntax for variables.