Support regexs in mock arguments