ENH/CLN: Redefine str.match, and issue a warning on deprecated default behavior.