title: Pattern attribute for not accepting numbers
body: <p>I am trying to learn reqular expressions and apply it to my form using <code>pattern</code> attribute.
  I have a form which asks for email,firstName ,lastName and password.What I want to do is to prevent lastName and firstName from containing digits.
  So here is my code:</p>
  
  <pre><code>&lt;form action="foo.php" method="post"&gt;
      &lt;label for="email"&gt;Email&lt;/label&gt;
      &lt;input type="email" required class="form-control" id='email-input'&gt;
      &lt;label for="firstName"&gt;First Name&lt;/label&gt;
      &lt;input type="text" name="firstName" required class="form-control" id='first-name-input' pattern="[^0-9]" title="First name cannot contains any digits"&gt;
      &lt;label for="lastName"&gt;Last Name&lt;/label&gt;
      &lt;input type="text" name="lastName" required class="form-control" id='last-name-input' pattern="[^0-9]" title="Last name cannot contains any digits"&gt;
      &lt;label for="password"&gt;Password&lt;/label&gt;
      &lt;input type="password" required class="form-control" id='password-input'&gt;
      &lt;input type='submit' class='btn btn-success pull-right' value='Complete registration' style="margin-top:0.3em"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>However I I fill in all my inputs even If I don't type any number(just fill in a real name) int the 
  First Name and the Last Name input I get an error saying:
  Please match the requested format.
  I would like an explanation.
  To better understand what I want to do here is an example:</p>
  
  <p>If input for <code>first-name</code> is foo it will not throw an error.</p>
  
  <p>If input is foo1 or 1 or 1foo it will throw an error</p>