title: Detecting High Surrogates in a String using Regular Expressions
body: <p>I want to check whether a String contains any High Surrogates. In Java I would use Character.isHighSurrogate(c) and this works.</p>
  
  <p>In regex (using the implementation provided by Android 2.3.3 SDK), I was expecting this to work:</p>
  
  <p><code>[\uD800-\uDBFF]</code></p>
  
  <p>but it doesn't.</p>
  
  <p>I am using the char:  (codepoint: 177700) to test this (works in my java check but not the regex check).</p>
  
  <p>Any ideas?</p>