Currently if you want to build nested templates where there is parent child relation between template variables, and your tag names have hyphen in their names then the regex in code will not match your tag name.
I changed \w to [A-Za-z0-9_-] in order to allow tag names with hyphens.
This PR adds support for hyphen - in tag names.
Currently if you want to build nested templates where there is parent child relation between template variables, and your tag names have hyphen in their names then the regex in code will not match your tag name.
I changed \w to [A-Za-z0-9_-] in order to allow tag names with hyphens.