RegExp matches arrays should use contiguous indexing.