fix regex bug.
Merge pull request #2460 from ikayzo/email_form_template_regex_bug

fix regex bug.