test that regexes in arrays match correctly