This adds a simple regexp match function. This will be useful for regexp based name classification, if you're into that sort of thing.