android email validation
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1819142/how-should-i-validate-an-e-mail-address-on-android">How should I validate an e-mail address on Android?</a>  </p>
</blockquote>



<p>I used this:</p>

<pre><code>Pattern.matches("^(.+)@([^@]+[^.])$", email)
</code></pre>

<p>it didn't work when I enter <code>asdf@asdf</code> , why pelase?</p>
