fixes regex matching template names
Merge pull request #101 from langalex/regex_bugfix

fixes regex matching template names