<p>I was wondering if there is an open source library or algorithm that can expand a non-numeric range.  For example, if you have <code>1A</code> to <code>9A</code> you should get </p>

<pre><code>1A, 2A, 3A, 4A, 5A, 6A, 7A, 8A, 9A.
</code></pre>

<p>I've tried Googling for this and the best I could come up with were Regex that would expand numerics with dashes (1-3 becoming 1,2,3).</p>

I was trying to leave it somewhat open because the number of possibilities is staggering.  I believe this one of those questions that could not be answered 100% here without going through a lot of technical detail about is considered a "good" or "bad" range.  I'm just trying to find a jumping point for ideas on how other people have tackled this problem.  I was hoping that someone wrote a blog post explaining how they went about it solving this problem or created a whole library to handle this.