Fix regex match indices.