title: Regex for number range not working in jquery validation
body: <p>In an asp.net mvc3 view, I have a form with an input. The input has regex for a number range. The regex is correct, but the validation <em>always</em> comes back as invalid. I am not sure what I am missing here. This is the rendered element. It is appended to the DOM after the page loads at runtime.</p>
  
  <pre><code>&lt;input 
   id="ReserveQuantity" 
   class="text-box single-line" 
   type="text" 
   name="ReserveQuantity" 
   data-val="true" 
   data-val-required="required." 
   data-val-number="numeric" 
   data-val-regex-pattern="/^(?:[0-9]|[1-9][0-9]|10[0-4])$/" 
   data-val-regex="The field must be in range 0 to 104."
  &gt;
  </code></pre>
  
  <p>What am I missing to make this properly validate? Did I miss a call to the jquery validator when rendering this dynamically or is the problem elsewhere?</p>