Try regex matcher over 2D array