test262/test/built-ins/RegExp/S15.10.2.7_A1_T9.js

18 lines
507 B
JavaScript

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: >
The production QuantifierPrefix :: { DecimalDigits , DecimalDigits }
evaluates as ...
es5id: 15.10.2.7_A1_T9
description: Execute /b{42,93}c/.exec("aaabbbbcccddeeeefffff") and check results
---*/
__executed = /b{42,93}c/.test("aaabbbbcccddeeeefffff");
//CHECK#1
if (__executed) {
$ERROR('#1: /b{42,93}c/.test("aaabbbbcccddeeeefffff") === false');
}