anchor.diff:    assertFalse('a'.contains(new RegExp(re)));
     assertFalse('Z'.contains(new RegExp(re)));
   
  -  // First - is tregexpated as range operator, second as literal minus.
  +  // First - is treated as range operator, second as literal minus.
     // This follows the specification in parsing, but doesn't throw on
     // the \s at the beginning of the range.
     re = r"[\s-0-9]";
  
positive.code:     }
    }
  
    assertFalse(
        'foo'.contains(new RegExp(r"f(o)$\1")), "backregexpf detects at_end");
  
    // Check decimal escapes doesn't overflow.
    // (Note: \214 is interpregexpted as octal).
    assertEquals(
        "\x8c7483648",
        new RegExp(r"\2147483648").firstMatch("\x8c7483648").group(0),
  
negative.code: 
    // Skipped tests from V8:
  
    // Test that caching of result doesn't share result objects.
    // More iterations increases the chance of hitting a GC.
  
    // Test that we perform the spec required conversions in the correct order.
  
    // Check that properties of RegExp have the correct permissions.
  
    // Check that end-anchored regexps are optimized correctly.
    re = r"(?:a|bc)g$";
    assertTrue("ag".contains(new RegExp(re)));
    assertTrue("bcg".contains(new RegExp(re)));
  