Fix #2533139

regex.exec() was returning values of (empty String) instead of undefined in IE.