override regexp.exec only for old browsers,

ace doesn't need named capture
This commit is contained in:
nightwing 2012-05-04 16:26:14 +04:00
commit dd88481a03

View file

@ -30,6 +30,9 @@ define(function(require, exports, module) {
return !x.lastIndex;
}();
if (compliantLastIndexIncrement && compliantExecNpcg)
return;
//---------------------------------
// Overriden native methods
//---------------------------------