Maybe new before XRegExp ?

I don't know if this is right but http://www.jslint.com/ is complaining about it.