Serious (orders of magnitude) performance improvements with using match-re.