Regex based rarity parser.

The regex formulation seems to work correctly and not be
order-dependent, which the old rarity detection scheme was.  I hope
this one will stand the test of time.
Increment version.