Fixed an issue with regex for matching member names within the email template