context: function AddRegExpCases( re, s, g, i, m, l ) {    AddTestCase( re + ".test == RegExp.prototype.test",                 true,                 re.test == RegExp.prototype.test );    AddTestCase( re + ".toString == RegExp.prototype.toString",                 true,                 re.toString == RegExp.prototype.toString );    AddTestCase( re + ".contructor == RegExp.prototype.constructor",                 true,                 re.constructor == RegExp.prototype.constructor );    AddTestCase( re + ".compile == RegExp.prototype.compile",                 true,                 re.compile == RegExp.prototype.compile );    AddTestCase( re + ".exec == RegExp.prototype.exec",                 true,                 re.exec == RegExp.prototype.exec );    // properties    AddTestCase( re + ".source",                 s,                 re.source );/* * http://bugzilla.mozilla.org/show_bug.cgi?id=225550 changed * the behavior of toString() and toSource() on empty regexps. * So branch if |s| is the empty string - */var S = s? s : '(?:)';    AddTestCase( re + ".toString()",                 "/" + S +"/" + (g?"g":"") + (i?"i":"") +(m?"m":""),                 re.toString() );    AddTestCase( re + ".global",                 g,                 re.global );    AddTestCase( re + ".ignoreCase",                 i,                 re.ignoreCase );    AddTestCase( re + ".multiline",                 m,                 re.multiline);    AddTestCase( re + ".lastIndex",                 l,                 re.lastIndex  );}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f5797aeb2410e2259028142b87595fe71f03e531/properties-001.js/buggy/js/tests/ecma_2/RegExp/properties-001.js