This module exists to facilitate the t.match() method in node-tap (http://npm.im/tap)
Rewritten and moved to tcompare