s = patterns[i];  for (j in flags) 
f = flags[j]; status = getStatus(s, f); actual = cnFAILURE; expect = cnSUCCESS;  try 
function testIllegalRegExps(patterns, flags){  for (i in patterns)    {      s = patterns[i];        for (j in flags)      {        f = flags[j];        status = getStatus(s, f);        actual = cnFAILURE;        expect = cnSUCCESS;          try         {          // This should cause an exception if either s or f is illegal -                   eval('obj = new RegExp(s, f);');          }          catch(e)         {          // We expect to get a SyntaxError - test for this:          if (e instanceof SyntaxError)            actual = cnSUCCESS;        }                reportCompare(expect, actual, status);      }    }}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/3703c3c05f398a63e55992f7687ef65273b26d6a/regress-57631.js/buggy/js/tests/ecma_3/RegExp/regress-57631.js