Regular expression behaving different on in c# code behind and on aspx
<p>Note: question has been edited to stay in sync with what I have tried from the commenters</p>

<p>I am trying to match an email, however when put the same expression in the code behind, vs the aspx, I seem to be getting different matches for email address. The aspx regex validator seems to be working correctly, however I need to validate for my webservice as well. Im sure Im missing something simple here, does anyone have any ideas.</p>

<pre><code> Regex regExEmail = new Regex(@"\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"); 
 if (!regExEmail.IsMatch(contact.emailAddress))
 {
     //do something
 }
</code></pre>
