Removed partial (use lambda) and operate on a list of tuples of regexes