title: Symfony 2 validation message
body: <p>In symfony 2 i have a <code>name</code> filed that i want to validate it and if it contains number I want to show a message. My code is: </p>
  
  <pre><code>//Entity/Product.php
   /**
       * @ORM\Column(name="`name`", type="string", length=255)
       * @Assert\NotBlank()
       * @Assert\NotNull()
       * @Assert\Regex(pattern="/[0-9]/",match=false,message="Your name cannot contain a number")
       */
      protected $name;
  </code></pre>
  
  <p>But when i write a number in field i see this message <code>Please match the requested format</code> because my field code is like below:</p>
  
  <pre><code>&lt;input type="text" id="mzm_testbundle_category_name" name="mzm_testbundle_category[name]" required="required" maxlength="255" pattern="((?![0-9]).)*"&gt;
  </code></pre>
  
  <p>input tag has a pattern and error that i see is from HTML5. How can i resolsve this problem?</p>