change templateName regexp