Allow match_first to take a string argument.