Fix IE8 array value retrieval

In IE8 `subkey.replace(reArray, '');` increments `reArray.lastIndex` so the next call to exec fails to match array.