title: Bootstrap validator email regex
body: <p>I'm using <a href="http://1000hz.github.io/bootstrap-validator/" rel="nofollow noreferrer">bootstrap validator</a> but the email field accept "test@test". You can try it on my link. How can I do to fix that ? With the pattern attribute I can write a regex but I don't know do that.</p>
  
  <p>I have already try this regex but all the emails are incorrect :</p>
  
  <pre class="lang-php prettyprint-override"><code>&lt;?php 
      echo $this-&gt;tag-&gt;emailField(
          array(
              "email", 
              "class" =&gt; "form-control", 
              "data-error" =&gt; "incorrect address",
              "pattern" =&gt; '/^(([^&lt;&gt;()[\]\.,;:\s@\"]+(\.[^&lt;&gt;()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^&lt;&gt;()[\]\.,;:\s@\"]+\.)+[^&lt;&gt;()[\]\.,;:\s@\"]{2,})$/i',
              "required" =&gt; "required"
          )
      );
  ?&gt;
  </code></pre>