override regexp.exec only for old browsers,
ace doesn't need named capture
This commit is contained in:
parent
f0accfee83
commit
dd88481a03
1 changed files with 3 additions and 0 deletions
|
|
@ -30,6 +30,9 @@ define(function(require, exports, module) {
|
||||||
return !x.lastIndex;
|
return !x.lastIndex;
|
||||||
}();
|
}();
|
||||||
|
|
||||||
|
if (compliantLastIndexIncrement && compliantExecNpcg)
|
||||||
|
return;
|
||||||
|
|
||||||
//---------------------------------
|
//---------------------------------
|
||||||
// Overriden native methods
|
// Overriden native methods
|
||||||
//---------------------------------
|
//---------------------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue