1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
6 If pattern is an object R whose [[Class]] property is "RegExp" and flags is undefined, then let P be
7 the pattern used to construct R and let F be the flags used to construct R
9 description: Pattern is new RegExp and RegExp is new RegExp(pattern,undefined)
12 var __pattern = new RegExp;
13 var __re = new RegExp(__pattern, undefined);
18 'The value of __re.source is expected to equal the value of __pattern.source'
24 'The value of __re.multiline is expected to equal the value of __pattern.multiline'
30 'The value of __re.global is expected to equal the value of __pattern.global'
36 'The value of __re.ignoreCase is expected to equal the value of __pattern.ignoreCase'