how to have re.sub work for multiple pattern replace on list of list