title: Find continuous range in a list of unicode code points
body: <p>I have a list of unicode code points, something along these lines (<em>not an actual set, problem illustration only</em>):</p>
  <pre><code>uni050B
  uni050C
  uni050D
  uni050E
  uni050F
  uni0510
  uni0511
  uni0512
  uni0513
  uni1E00
  uni1E01
  uni1E3E
  uni1E3F
  uni1E80
  uni1E81
  uni1E82
  uni1E83
  uni1E84
  uni1E85
  uni1EA0
  and so forth…
  </code></pre>
  <p>I need to find the <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/unicode-range" rel="nofollow noreferrer"><code>unicode-range</code></a> for these. Some parts of this set are continuous, with some points missing - so the range is not <code>U+050B-1EA0</code>.
  Is there a sensible way of extracting those continuous &quot;sub-ranges&quot;?</p>