Update the URL and mail regular expressions

This was done according to the instructions by Mischa in
http://redmine.sbszh.ch/issues/1816