Lines Matching full:native

34 // Avoid running twice; that would reset tokens and could break references to native globals
52 // Store native methods to use and restore ("native" is an ES3 reserved keyword)
61 // Storage for fixed/extended native methods
74 // Regexes that match native regex syntax
76 … // Any native multicharacter token in default scope (includes octals, excludes character classes)
78 // Any native multicharacter token in character class scope (includes octals)
128 * Returns native `RegExp` flags used by a regex object.
131 * @returns {String} Native flags in use.
166 …// Augment with `XRegExp.prototype` methods, but use native `RegExp` (avoid searching for special …
183 return array.lastIndexOf(value); // Use the native method if available
274 * Enables or disables native method overrides.
293 * native regular expression in that additional syntax and flags are supported. The returned object
294 * is in fact a native `RegExp` and works with all native methods.
317 * // zero). Native regexes are not recompiled using XRegExp syntax.
373 // Check for native tokens (except character classes) at the current position
430 * @param {Function} handler Function that returns a new pattern string (using native regex syntax)
493 * used, but is updated for compatibility. Also fixes browser bugs compared to the native
564 * (set to zero). Native regexes are not recompiled using XRegExp syntax.
585 * // Overrides native regex methods with fixed/extended versions that support named
691 * bugs compared to the native `String.prototype.replace` and can be used reliably cross-browser.
755 * Fixes browser bugs compared to the native `String.prototype.split` and can be used reliably
784 * updated for compatibility. Also fixes browser bugs compared to the native
814 * // Restores native regex methods
840 * Backreferences in provided regex objects are automatically renumbered to work correctly. Native
901 * Fixed/extended native methods
906 * bugs in the native `RegExp.prototype.exec`. Calling `XRegExp.install('natives')` uses this to
907 * override the native method. Use via `XRegExp.exec` without overriding natives.
955 * Fixes browser bugs in the native `RegExp.prototype.test`. Calling `XRegExp.install('natives')`
956 * uses this to override the native method.
968 * bugs in the native `String.prototype.match`. Calling `XRegExp.install('natives')` uses this to
969 * override the native method.
977 regex = new RegExp(regex); // Use native `RegExp`
992 * argument. Calling `XRegExp.install('natives')` uses this to override the native method. Use via
1067 * Native behavior, for comparison:
1095 * Fixes browser bugs in the native `String.prototype.split`. Calling `XRegExp.install('natives')`
1096 * uses this to override the native method. Use via `XRegExp.split` without overriding natives.
1104 return nativ.split.apply(this, arguments); // use faster native method