title: Character limitation in regular expression won't work
body: <p>I want to check the string if it obeys these rules:</p>
  
  <ul>
  <li><strong>First part:</strong> 2 digits</li>
  <li>1 space</li>
  <li><strong>Second part:</strong> Capital letters. 1, 2 or 3 characters</li>
  <li>1 space</li>
  <li><strong>Third part:</strong> 2, 3 or 4 digits</li>
  </ul>
  
  <p>My regular expression:</p>
  
  <pre><code>/\d{2}\s.[A-Z]{1,3}\s.\d{2,4}/
  </code></pre>
  
  <p>It works with most strings but it doesn't with some like these:</p>
  
  <ul>
  <li>134 HY 723 (It shouldn't allow 3 digits in first part)</li>
  <li>34 H 723 (It should allow one letter in second part)</li>
  <li>34 HD 723435 (It shouldn't allow over 4 digits in third part)</li>
  </ul>