in reply to Qwestion about Automatic Match Variables

You probably want to escape the '.' to prevent matching typos like 'dmathis@gmail,com'
if (/(dmathis@gmail.\w+)/) {