pdml-lang / pdml-lang.github.io

PDML website (including all docs)
https://pdml-lang.dev/
GNU General Public License v2.0
1 stars 0 forks source link

Fix Node Name RegEx #4

Closed tajmone closed 2 years ago

tajmone commented 2 years ago

In Basic PDML Specification » Name it says:

A node name must match the regex [a-zA-Z_][a-zA-Z1-9_-\.]*.

Please fix the RegEx to [a-zA-Z_][a-zA-Z1-9_\.-]*, otherwise the - is interpreted as a range operator (i.e. from _ to .) which results in an invalid RegEx expression in most engines.

pdml-lang commented 2 years ago

Please fix the RegEx to [a-zA-Z][a-zA-Z1-9.-]*

Done. See chapter name