Lines Matching refs:flags
26 * 15.10.4.1 new RegExp(pattern, flags)
29 * flags is undefined, then let P be the pattern used to construct R
30 * and let F be the flags used to construct R. If pattern is an object R
31 * whose [[Class]] property is "RegExp" and flags is not undefined,
34 * the empty string if flags is undefined and ToString(flags) otherwise.
40 * "flags" is undefined
46 * In this test, the initial RegExp obj1 will include a flag. The flags
60 var flags = new Array();
71 // various flags to try -
72 flags[0] = 'i';
73 flags[1] = 'g';
74 flags[2] = 'm';
75 flags[3] = undefined;
94 for (j in flags)
96 f = flags[j];