Home | History | Annotate | Download | only in src

Lines Matching refs:global

28 // Expect $Object = global.Object;
29 // Expect $Array = global.Array;
31 var $RegExp = global.RegExp;
41 flags = (pattern.global ? 'g' : '')
50 var global = false;
57 if (global) {
60 global = true;
79 %RegExpInitializeObject(object, pattern, global, ignoreCase, multiline);
152 // property from the global object since this may change.
181 // algorithm, step 5) even if the value is discarded for non-global RegExps.
184 var global = this.global;
185 if (global) {
199 if (global) this.lastIndex = 0;
205 if (global) {
230 // algorithm, step 5) even if the value is discarded for non-global RegExps.
233 if (this.global) {
249 // Non-global regexp.
250 // Remove irrelevant preceeding '.*' in a non-global test regexp.
286 if (this.global) result += 'g';