Fixed the regex in hackislyParseRegexTemplates()