Fix incompatibility between our indexOf shim and XRegExp's