title: Undesirable result of use of ng-pattern (Angular.JS), with unicode characters
body: <p>I am using an ng-pattern that with an input field that should accept only Hebrew characters.</p>
  
  <p>I have find out what unicode numbers Hebrew chars are.</p>
  
  <p>This is my pattern:</p>
  
  <pre><code>$scope.onlyHebrewPattern = /[\u05D0-\u05F3]+/g;
  </code></pre>
  
  <p>And my form input:</p>
  
  <pre><code>&lt;input tabindex=1 type="text" ng-disabled="disableButtons" name="firstname" ng-minlength="2" ng-maxlength="15" ng-model="register.firstName" placeholder="first name" ng-pattern="onlyHebrewPattern" required title="please enter your name"&gt;
  </code></pre>
  
  <p>Now for most inputs that pattern will work and will not populate the $scope.firstname with wrong results like: "abcd".</p>
  
  <p>But there are inputs like: "שדas" that for some reason are being accepted by the pattern.</p>
  
  <p>I believe the problem relies with the pattern definition.  Something must be wrong but I am sure that u05D0-u05F3 is really that range that I need in my pattern.  So what is my problem here?</p>