diff options
Diffstat (limited to 'test/suite/ch15/15.10/15.10.2/15.10.2.7')
69 files changed, 444 insertions, 568 deletions
diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T1.js index 2fefde618..cbc36eca3 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T1.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ... - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T1.js - * @description Execute /\d{2,4}/.exec("the answer is 42") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } + evaluates as ... +description: Execute /\d{2,4}/.exec("the answer is 42") and check results +---*/ __executed = /\d{2,4}/.exec("the answer is 42"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\d{2,4}/.exec("the answer is 42"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T10.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T10.js index d141f3d65..d91669077 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T10.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T10.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ... - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T10.js - * @description Execute /b{0,93}c/.exec("aaabbbbcccddeeeefffff") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } + evaluates as ... +description: Execute /b{0,93}c/.exec("aaabbbbcccddeeeefffff") and check results +---*/ __executed = /b{0,93}c/.exec("aaabbbbcccddeeeefffff"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /b{0,93}c/.exec("aaabbbbcccddeeeefffff"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T11.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T11.js index 2470bcfc7..8d5f48972 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T11.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T11.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ... - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T11.js - * @description Execute /bx{0,93}c/.exec("aaabbbbcccddeeeefffff") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } + evaluates as ... +description: Execute /bx{0,93}c/.exec("aaabbbbcccddeeeefffff") and check results +---*/ __executed = /bx{0,93}c/.exec("aaabbbbcccddeeeefffff"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /bx{0,93}c/.exec("aaabbbbcccddeeeefffff"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T12.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T12.js index c61c55d35..973154441 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T12.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T12.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ... - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T12.js - * @description Execute /.{0,93}/.exec("weirwerdf") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } + evaluates as ... +description: Execute /.{0,93}/.exec("weirwerdf") and check results +---*/ __executed = /.{0,93}/.exec("weirwerdf"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /.{0,93}/.exec("weirwerdf"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T2.js index b61f802eb..b1afe736a 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T2.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ... - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T2.js - * @description Execute /\d{2,4}/.test("the 7 movie") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } + evaluates as ... +description: Execute /\d{2,4}/.test("the 7 movie") and check results +---*/ __executed = /\d{2,4}/.test("the 7 movie"); @@ -14,5 +14,3 @@ __executed = /\d{2,4}/.test("the 7 movie"); if (__executed) { $ERROR('#1: /\\d{2,4}/.test("the 7 movie") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T3.js index 83ffab217..22f1543d7 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T3.js @@ -1,12 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ... - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T3.js - * @description Execute /\d{2,4}/.exec("the 20000 Leagues Under the Sea book") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } + evaluates as ... +description: > + Execute /\d{2,4}/.exec("the 20000 Leagues Under the Sea book") and + check results +---*/ __executed = /\d{2,4}/.exec("the 20000 Leagues Under the Sea book"); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\d{2,4}/.exec("the 20000 Leagues Under the Sea book"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T4.js index 8ae84c992..b1f703a1e 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T4.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ... - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T4.js - * @description Execute /\d{2,4}/.exec("the Fahrenheit 451 book") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } + evaluates as ... +description: Execute /\d{2,4}/.exec("the Fahrenheit 451 book") and check results +---*/ __executed = /\d{2,4}/.exec("the Fahrenheit 451 book"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\d{2,4}/.exec("the Fahrenheit 451 book"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T5.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T5.js index 25d5d368b..8976f65c4 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T5.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T5.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ... - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T5.js - * @description Execute /\d{2,4}/.exec("the 1984 novel") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } + evaluates as ... +description: Execute /\d{2,4}/.exec("the 1984 novel") and check results +---*/ __executed = /\d{2,4}/.exec("the 1984 novel"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\d{2,4}/.exec("the 1984 novel"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T6.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T6.js index bacc09142..ae3160895 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T6.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T6.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ... - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T6.js - * @description Execute /\d{2,4}/.exec("0a0\u0031\u0031b") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } + evaluates as ... +description: Execute /\d{2,4}/.exec("0a0\u0031\u0031b") and check results +---*/ __executed = /\d{2,4}/.exec("0a0\u0031\u0031b"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\d{2,4}/.exec("0a0\\u0031\\u0031b"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T7.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T7.js index 239d624fa..3b927b5b0 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T7.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T7.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ... - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T7.js - * @description Execute /\d{2,4}/.exec("0a0\u0031\u003122b") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } + evaluates as ... +description: Execute /\d{2,4}/.exec("0a0\u0031\u003122b") and check results +---*/ __executed = /\d{2,4}/.exec("0a0\u0031\u003122b"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\d{2,4}/.exec("0a0\\u0031\\u003122b"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T8.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T8.js index 5b9d406e7..d7383b3ac 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T8.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T8.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ... - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T8.js - * @description Execute /b{2,3}c/.exec("aaabbbbcccddeeeefffff") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } + evaluates as ... +description: Execute /b{2,3}c/.exec("aaabbbbcccddeeeefffff") and check results +---*/ __executed = /b{2,3}c/.exec("aaabbbbcccddeeeefffff"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /b{2,3}c/.exec("aaabbbbcccddeeeefffff"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T9.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T9.js index 14a6bba24..cdd24bfe4 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T9.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T9.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } evaluates as ... - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A1_T9.js - * @description Execute /b{42,93}c/.exec("aaabbbbcccddeeeefffff") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: { DecimalDigits , DecimalDigits } + evaluates as ... +description: Execute /b{42,93}c/.exec("aaabbbbcccddeeeefffff") and check results +---*/ __executed = /b{42,93}c/.test("aaabbbbcccddeeeefffff"); @@ -14,5 +14,3 @@ __executed = /b{42,93}c/.test("aaabbbbcccddeeeefffff"); if (__executed) { $ERROR('#1: /b{42,93}c/.test("aaabbbbcccddeeeefffff") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A2_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A2_T1.js index 0758297ca..236f08c92 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A2_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A2_T1.js @@ -1,13 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * i) The production QuantifierPrefix :: { DecimalDigits } evaluates... - * ii) The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1 - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A2_T1.js - * @description Execute /\w{3}\d?/.exec("CE\uFFFFL\uFFDDbox127") and check results - */ +/*--- +info: > + i) The production QuantifierPrefix :: { DecimalDigits } evaluates... + ii) The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1 +description: Execute /\w{3}\d?/.exec("CE\uFFFFL\uFFDDbox127") and check results +---*/ __executed = /\w{3}\d?/.exec("CE\uFFFFL\uFFDDbox127"); @@ -36,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\w{3}\\d?/.exec("CE\\uFFFFL\\uFFDDbox127"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A2_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A2_T2.js index 0bd93de40..ca34afd47 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A2_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A2_T2.js @@ -1,13 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * i) The production QuantifierPrefix :: { DecimalDigits } evaluates... - * ii) The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1 - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A2_T2.js - * @description Execute /\w{3}\d?/.exec("CELL\uFFDDbox127") and check results - */ +/*--- +info: > + i) The production QuantifierPrefix :: { DecimalDigits } evaluates... + ii) The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1 +description: Execute /\w{3}\d?/.exec("CELL\uFFDDbox127") and check results +---*/ __executed = /\w{3}\d?/.exec("CELL\uFFDDbox127"); @@ -36,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\w{3}\\d?/.exec("CELL\\uFFDDbox127"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A2_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A2_T3.js index ea5542af2..2e7d4a276 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A2_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A2_T3.js @@ -1,13 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * i) The production QuantifierPrefix :: { DecimalDigits } evaluates... - * ii) The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1 - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A2_T3.js - * @description Execute /b{2}c/.exec("aaabbbbcccddeeeefffff") and check results - */ +/*--- +info: > + i) The production QuantifierPrefix :: { DecimalDigits } evaluates... + ii) The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1 +description: Execute /b{2}c/.exec("aaabbbbcccddeeeefffff") and check results +---*/ __executed = /b{2}c/.exec("aaabbbbcccddeeeefffff"); @@ -36,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /b{2}c/.exec("aaabbbbcccddeeeefffff"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A2_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A2_T4.js index 9f70d3573..75c4e2e25 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A2_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A2_T4.js @@ -1,13 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * i) The production QuantifierPrefix :: { DecimalDigits } evaluates... - * ii) The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1 - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A2_T4.js - * @description Execute /b{8}c/.test("aaabbbbcccddeeeefffff") and check results - */ +/*--- +info: > + i) The production QuantifierPrefix :: { DecimalDigits } evaluates... + ii) The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1 +description: Execute /b{8}c/.test("aaabbbbcccddeeeefffff") and check results +---*/ __executed = /b{8}/.test("aaabbbbcccddeeeefffff"); @@ -15,5 +14,3 @@ __executed = /b{8}/.test("aaabbbbcccddeeeefffff"); if (__executed) { $ERROR('#1: /b{8}/.test("aaabbbbcccddeeeefffff") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T1.js index 2b252a2c4..1fe7efa5b 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T1.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T1.js - * @description Execute /\s+java\s+/.exec("language java\n") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: + evaluates by returning the two + results 1 and \infty +description: Execute /\s+java\s+/.exec("language java\n") and check results +---*/ __executed = /\s+java\s+/.exec("language java\n"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\s+java\\s+/.exec("language java\\n"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T10.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T10.js index 94d161b67..f7104a4a3 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T10.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T10.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T10.js - * @description Execute /o+/.test("abcdefg") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: + evaluates by returning the two + results 1 and \infty +description: Execute /o+/.test("abcdefg") and check results +---*/ __executed = /o+/.test("abcdefg"); @@ -14,5 +14,3 @@ __executed = /o+/.test("abcdefg"); if (__executed) { $ERROR('#1: /o+/.test("abcdefg") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T11.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T11.js index 24eeaf962..43af933a1 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T11.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T11.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T11.js - * @description Execute /d+/.exec("abcdefg") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: + evaluates by returning the two + results 1 and \infty +description: Execute /d+/.exec("abcdefg") and check results +---*/ __executed = /d+/.exec("abcdefg"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /d+/.exec("abcdefg"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T12.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T12.js index 761c49913..fda325b44 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T12.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T12.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T12.js - * @description Execute /(b+)(b+)(b+)/.exec("abbbbbbbc") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: + evaluates by returning the two + results 1 and \infty +description: Execute /(b+)(b+)(b+)/.exec("abbbbbbbc") and check results +---*/ __executed = /(b+)(b+)(b+)/.exec("abbbbbbbc"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(b+)(b+)(b+)/.exec("abbbbbbbc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T13.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T13.js index 70f8e1afa..72a1c59be 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T13.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T13.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T13.js - * @description Execute /(b+)(b*)/.exec("abbbbbbbc") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: + evaluates by returning the two + results 1 and \infty +description: Execute /(b+)(b*)/.exec("abbbbbbbc") and check results +---*/ __executed = /(b+)(b*)/.exec("abbbbbbbc"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(b+)(b*)/.exec("abbbbbbbc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T14.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T14.js index d1e713f9a..b291873ac 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T14.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T14.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T14.js - * @description Execute /b*b+/.exec("abbbbbbbc") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: + evaluates by returning the two + results 1 and \infty +description: Execute /b*b+/.exec("abbbbbbbc") and check results +---*/ __executed = /b*b+/.exec("abbbbbbbc"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /b*b+/.exec("abbbbbbbc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T2.js index 648531c41..4cec3db5b 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T2.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T2.js - * @description Execute /\s+java\s+/.exec("\t java object") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: + evaluates by returning the two + results 1 and \infty +description: Execute /\s+java\s+/.exec("\t java object") and check results +---*/ __executed = /\s+java\s+/.exec("\t java object"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\s+java\\s+/.exec("\\t java object"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T3.js index 149f3c98e..4ce40d5d2 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T3.js - * @description Execute /\s+java\s+/.test("\t javax package") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: + evaluates by returning the two + results 1 and \infty +description: Execute /\s+java\s+/.test("\t javax package") and check results +---*/ __executed = /\s+java\s+/.test("\t javax package"); @@ -14,5 +14,3 @@ __executed = /\s+java\s+/.test("\t javax package"); if (__executed) { $ERROR('#1: /\\s+java\\s+/.test("\\t javax package") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T4.js index 1d566b277..40078e9fd 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T4.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T4.js - * @description Execute /\s+java\s+/.test("java\n\nobject") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: + evaluates by returning the two + results 1 and \infty +description: Execute /\s+java\s+/.test("java\n\nobject") and check results +---*/ __executed = /\s+java\s+/.test("java\n\nobject"); @@ -14,5 +14,3 @@ __executed = /\s+java\s+/.test("java\n\nobject"); if (__executed) { $ERROR('#1: /\\s+java\\s+/.test("java\\n\\nobject") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T5.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T5.js index 0fb67ae6a..340fd3e54 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T5.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T5.js @@ -1,12 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T5.js - * @description Execute /[a-z]+\d+/.exec("x 2 ff 55 x2 as1 z12 abc12.0") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: + evaluates by returning the two + results 1 and \infty +description: > + Execute /[a-z]+\d+/.exec("x 2 ff 55 x2 as1 z12 abc12.0") and check + results +---*/ __executed = /[a-z]+\d+/.exec("x 2 ff 55 x2 as1 z12 abc12.0"); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[a-z]+\\d+/.exec("x 2 ff 55 x2 as1 z12 abc12.0"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T6.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T6.js index f7811bf4a..640517f18 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T6.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T6.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T6.js - * @description Execute /[a-z]+\d+/.exec("__abc123.0") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: + evaluates by returning the two + results 1 and \infty +description: Execute /[a-z]+\d+/.exec("__abc123.0") and check results +---*/ __executed = /[a-z]+\d+/.exec("__abc123.0"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[a-z]+\\d+/.exec("__abc123.0"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T7.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T7.js index 50df9d4c8..0e6d97f6b 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T7.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T7.js @@ -1,12 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T7.js - * @description Execute /[a-z]+(\d+)/.exec("x 2 ff 55 x2 as1 z12 abc12.0") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: + evaluates by returning the two + results 1 and \infty +description: > + Execute /[a-z]+(\d+)/.exec("x 2 ff 55 x2 as1 z12 abc12.0") and + check results +---*/ __executed = /[a-z]+(\d+)/.exec("x 2 ff 55 x2 as1 z12 abc12.0"); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[a-z]+(\\d+)/.exec("x 2 ff 55 x2 as1 z12 abc12.0"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T8.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T8.js index f95837858..6dffb79a8 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T8.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T8.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T8.js - * @description Execute /[a-z]+(\d+)/.exec("__abc123.0") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: + evaluates by returning the two + results 1 and \infty +description: Execute /[a-z]+(\d+)/.exec("__abc123.0") and check results +---*/ __executed = /[a-z]+(\d+)/.exec("__abc123.0"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[a-z]+(\\d+)/.exec("__abc123.0"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T9.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T9.js index 2c8311931..d90ab4840 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T9.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T9.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A3_T9.js - * @description Execute /d+/.exec("abcdddddefg") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: + evaluates by returning the two + results 1 and \infty +description: Execute /d+/.exec("abcdddddefg") and check results +---*/ __executed = /d+/.exec("abcdddddefg"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /d+/.exec("abcdddddefg"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T1.js index a0d48de9a..bc4b81aff 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T1.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T1.js - * @description Execute /[^"]* /.exec('"beast"-nickname') and check results - */ +/*--- +info: > + The production QuantifierPrefix :: * evaluates by returning the two + results 0 and \infty +description: Execute /[^"]* /.exec('"beast"-nickname') and check results +---*/ __executed = /[^"]*/.exec('"beast"-nickname'); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[^"]*/.exec(\'"beast"-nickname\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T10.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T10.js index c39a92513..66a741fc6 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T10.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T10.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T10.js - * @description Execute /d* /.exec('abcddddefg') and check results - */ +/*--- +info: > + The production QuantifierPrefix :: * evaluates by returning the two + results 0 and \infty +description: Execute /d* /.exec('abcddddefg') and check results +---*/ __executed = /d*/.exec('abcddddefg'); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /d*/.exec(\'abcddddefg\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T11.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T11.js index 3c17990db..3a671083b 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T11.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T11.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T11.js - * @description Execute /cd* /.exec('abcddddefg') and check results - */ +/*--- +info: > + The production QuantifierPrefix :: * evaluates by returning the two + results 0 and \infty +description: Execute /cd* /.exec('abcddddefg') and check results +---*/ __executed = /cd*/.exec('abcddddefg'); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /cd*/.exec(\'abcddddefg\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T12.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T12.js index a8401083e..966e45908 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T12.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T12.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T12.js - * @description Execute /cx*d/.exec('abcdefg') and check results - */ +/*--- +info: > + The production QuantifierPrefix :: * evaluates by returning the two + results 0 and \infty +description: Execute /cx*d/.exec('abcdefg') and check results +---*/ __executed = /cx*d/.exec('abcdefg'); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /cx*d/.exec(\'abcdefg\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T13.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T13.js index b0d1f28e0..5aef77d74 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T13.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T13.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T13.js - * @description Execute /(x*)(x+)/.exec('xxxxxxx') and check results - */ +/*--- +info: > + The production QuantifierPrefix :: * evaluates by returning the two + results 0 and \infty +description: Execute /(x*)(x+)/.exec('xxxxxxx') and check results +---*/ __executed = /(x*)(x+)/.exec('xxxxxxx'); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(x*)(x+)/.exec(\'xxxxxxx\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T14.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T14.js index ad6b7d77e..473d00151 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T14.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T14.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T14.js - * @description Execute /(\d*)(\d+)/.exec('1234567890') and check results - */ +/*--- +info: > + The production QuantifierPrefix :: * evaluates by returning the two + results 0 and \infty +description: Execute /(\d*)(\d+)/.exec('1234567890') and check results +---*/ __executed = /(\d*)(\d+)/.exec('1234567890'); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(\\d*)(\\d+)/.exec(\'1234567890\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T15.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T15.js index 362003a82..34a7cce2f 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T15.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T15.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T15.js - * @description Execute /(\d*)\d(\d+)/.exec('1234567890') and check results - */ +/*--- +info: > + The production QuantifierPrefix :: * evaluates by returning the two + results 0 and \infty +description: Execute /(\d*)\d(\d+)/.exec('1234567890') and check results +---*/ __executed = /(\d*)\d(\d+)/.exec('1234567890'); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(\\d*)\\d(\\d+)/.exec(\'1234567890\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T16.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T16.js index a2e4c965b..c0b07faaa 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T16.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T16.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T16.js - * @description Execute /(x+)(x*)/.exec('xxxxxxx') and check results - */ +/*--- +info: > + The production QuantifierPrefix :: * evaluates by returning the two + results 0 and \infty +description: Execute /(x+)(x*)/.exec('xxxxxxx') and check results +---*/ __executed = /(x+)(x*)/.exec('xxxxxxx'); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(x+)(x*)/.exec(\'xxxxxxx\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T17.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T17.js index 5e8861610..b645b2c92 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T17.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T17.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T17.js - * @description Execute /x*y+$/.exec('xxxxxxyyyyyy') and check results - */ +/*--- +info: > + The production QuantifierPrefix :: * evaluates by returning the two + results 0 and \infty +description: Execute /x*y+$/.exec('xxxxxxyyyyyy') and check results +---*/ __executed = /x*y+$/.exec('xxxxxxyyyyyy'); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /x*y+$/.exec(\'xxxxxxyyyyyy\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T18.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T18.js index 330315ad3..e155d7c81 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T18.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T18.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T18.js - * @description Execute /[\d]*[\s]*bc./.exec('abcdef') and check results - */ +/*--- +info: > + The production QuantifierPrefix :: * evaluates by returning the two + results 0 and \infty +description: Execute /[\d]*[\s]*bc./.exec('abcdef') and check results +---*/ __executed = /[\d]*[\s]*bc./.exec('abcdef'); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[\\d]*[\\s]*bc./.exec(\'abcdef\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T19.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T19.js index 0818eca6b..1c8d828a8 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T19.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T19.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T19.js - * @description Execute /bc..[\d]*[\s]* /.exec('abcdef') and check results - */ +/*--- +info: > + The production QuantifierPrefix :: * evaluates by returning the two + results 0 and \infty +description: Execute /bc..[\d]*[\s]* /.exec('abcdef') and check results +---*/ __executed = /bc..[\d]*[\s]*/.exec('abcdef'); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /bc..[\\d]*[\\s]*/.exec(\'abcdef\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T2.js index 146fc23f9..44c854a3b 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T2.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T2.js - * @description Execute /[^"]* /.exec('alice said: "don\'t"') and check results - */ +/*--- +info: > + The production QuantifierPrefix :: * evaluates by returning the two + results 0 and \infty +description: "Execute /[^\"]* /.exec('alice said: \"don\\'t\"') and check results" +---*/ __executed = /[^"]*/.exec('alice said: "don\'t"'); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[^"]*/.exec(\'alice said: "don\'t"\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T20.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T20.js index 11b5462c7..0bb3cc26f 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T20.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T20.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T20.js - * @description Execute /.* /.exec('a1b2c3') and check results - */ +/*--- +info: > + The production QuantifierPrefix :: * evaluates by returning the two + results 0 and \infty +description: Execute /.* /.exec('a1b2c3') and check results +---*/ __executed = /.*/.exec('a1b2c3'); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /.*/.exec(\'a1b2c3\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T21.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T21.js index 84bf97034..8c33273a3 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T21.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T21.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T21.js - * @description Execute /[xyz]*1/.test('a0.b2.c3') and check results - */ +/*--- +info: > + The production QuantifierPrefix :: * evaluates by returning the two + results 0 and \infty +description: Execute /[xyz]*1/.test('a0.b2.c3') and check results +---*/ __executed = /[xyz]*1/.test('a0.b2.c3'); @@ -14,5 +14,3 @@ __executed = /[xyz]*1/.test('a0.b2.c3'); if (__executed) { $ERROR('#1: /[xyz]*1/.test(\'a0.b2.c3\') === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T3.js index 6d7ffaf71..f05de24ea 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T3.js - * @description Execute /[^"]* /.exec("before\'i\'start") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: * evaluates by returning the two + results 0 and \infty +description: Execute /[^"]* /.exec("before\'i\'start") and check results +---*/ __executed = /[^"]*/.exec("before\'i\'start"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[^"]*/.exec("before\'i\'start"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T4.js index 4f4ca9ef5..b5d7ce23d 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T4.js @@ -1,12 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T4.js - * @description Execute /[^"]* /.exec('alice \"sweep\": "don\'t"') and check results - */ +/*--- +info: > + The production QuantifierPrefix :: * evaluates by returning the two + results 0 and \infty +description: > + Execute /[^"]* /.exec('alice \"sweep\": "don\'t"') and check + results +---*/ __executed = /[^"]*/.exec('alice \"sweep\": "don\'t"'); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[^"]*/.exec(\'alice \\"sweep\\": "don\'t"\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T5.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T5.js index 61420275b..b94b7e0ed 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T5.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T5.js @@ -1,12 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T5.js - * @description Execute /[^"]* /.exec('alice \u0022sweep\u0022: "don\'t"') and check results - */ +/*--- +info: > + The production QuantifierPrefix :: * evaluates by returning the two + results 0 and \infty +description: > + Execute /[^"]* /.exec('alice \u0022sweep\u0022: "don\'t"') and + check results +---*/ __executed = /[^"]*/.exec('alice \u0022sweep\u0022: "don\'t"'); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[^"]*/.exec(\'alice \\u0022sweep\\u0022: "don\'t"\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T6.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T6.js index 362dbdd62..81c60ecfa 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T6.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T6.js @@ -1,12 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T6.js - * @description Execute /["'][^"']*["']/.exec('alice \u0022sweep\u0022: "don\'t"') and check results - */ +/*--- +info: > + The production QuantifierPrefix :: * evaluates by returning the two + results 0 and \infty +description: > + Execute /["'][^"']*["']/.exec('alice \u0022sweep\u0022: "don\'t"') + and check results +---*/ __executed = /["'][^"']*["']/.exec('alice \u0022sweep\u0022: "don\'t"'); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /["\'][^"\']*["\']/.exec(\'alice \\u0022sweep\\u0022: "don\'t"\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T7.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T7.js index 8fc87a83f..73fd475ec 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T7.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T7.js @@ -1,12 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T7.js - * @description Execute /["'][^"']*["']/.exec('alice cries out: \'don\'t\'') and check results - */ +/*--- +info: > + The production QuantifierPrefix :: * evaluates by returning the two + results 0 and \infty +description: > + Execute /["'][^"']*["']/.exec('alice cries out: \'don\'t\'') and + check results +---*/ __executed = /["'][^"']*["']/.exec('alice cries out: \'don\'t\''); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /["\'][^"\']*["\']/.exec(\'alice cries out: \'don\'t\'\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T8.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T8.js index 840c044e0..96ddb099c 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T8.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T8.js @@ -1,12 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T8.js - * @description Execute /["'][^"']*["']/.test('alice cries out: don\'t') and check results - */ +/*--- +info: > + The production QuantifierPrefix :: * evaluates by returning the two + results 0 and \infty +description: > + Execute /["'][^"']*["']/.test('alice cries out: don\'t') and check + results +---*/ __executed = /["'][^"']*["']/.test('alice cries out: don\'t'); @@ -14,5 +16,3 @@ __executed = /["'][^"']*["']/.test('alice cries out: don\'t'); if (__executed) { $ERROR('#1: /["\'][^"\']*["\']/.test(\'alice cries out: don\'t\') === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T9.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T9.js index 836f76f8b..d433a485f 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T9.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T9.js @@ -1,12 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: * evaluates by returning the two results 0 and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A4_T9.js - * @description Execute /["'][^"']*["']/.exec('alice cries out:\"\"') and check results - */ +/*--- +info: > + The production QuantifierPrefix :: * evaluates by returning the two + results 0 and \infty +description: > + Execute /["'][^"']*["']/.exec('alice cries out:\"\"') and check + results +---*/ __executed = /["'][^"']*["']/.exec('alice cries out:\"\"'); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /["\'][^"\']*["\']/.exec(\'alice cries out:\\"\\"\'); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T1.js index 035a62b27..8faf3df2d 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T1.js @@ -1,12 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1 - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T1.js - * @description Execute /java(script)?/.exec("state: javascript is extension of ecma script") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: ? evaluates by returning the two + results 0 and 1 +description: > + Execute /java(script)?/.exec("state: javascript is extension of + ecma script") and check results +---*/ __executed = /java(script)?/.exec("state: javascript is extension of ecma script"); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /java(script)?/.exec("state: javascript is extension of ecma script"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T10.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T10.js index 23224d09c..4f6254268 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T10.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T10.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1 - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T10.js - * @description Execute /ab?c?d?x?y?z/.exec("123az789") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: ? evaluates by returning the two + results 0 and 1 +description: Execute /ab?c?d?x?y?z/.exec("123az789") and check results +---*/ __executed = /ab?c?d?x?y?z/.exec("123az789"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /ab?c?d?x?y?z/.exec("123az789"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T11.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T11.js index f9396a6a3..150cbb4d2 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T11.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T11.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1 - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T11.js - * @description Execute /\??\??\??\??\??/.exec("?????") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: ? evaluates by returning the two + results 0 and 1 +description: Execute /\??\??\??\??\??/.exec("?????") and check results +---*/ __executed = /\??\??\??\??\??/.exec("?????"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\??\\??\\??\\??\\??/.exec("?????"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T12.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T12.js index db97a462f..19ba0b75e 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T12.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T12.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1 - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T12.js - * @description Execute /.?.?.?.?.?.?.?/.exec("test") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: ? evaluates by returning the two + results 0 and 1 +description: Execute /.?.?.?.?.?.?.?/.exec("test") and check results +---*/ __executed = /.?.?.?.?.?.?.?/.exec("test"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /.?.?.?.?.?.?.?/.exec("test"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T2.js index c30a69199..8068fb473 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T2.js @@ -1,12 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1 - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T2.js - * @description Execute /java(script)?/.exec("state: java and javascript are vastly different") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: ? evaluates by returning the two + results 0 and 1 +description: > + Execute /java(script)?/.exec("state: java and javascript are + vastly different") and check results +---*/ __executed = /java(script)?/.exec("state: java and javascript are vastly different"); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /java(script)?/.exec("state: java and javascript are vastly different"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T3.js index 3e84feb22..9f1fab046 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T3.js @@ -1,12 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1 - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T3.js - * @description Execute /java(script)?/.test("state: both Java and JavaScript used in web development") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: ? evaluates by returning the two + results 0 and 1 +description: > + Execute /java(script)?/.test("state: both Java and JavaScript used + in web development") and check results +---*/ __executed = /java(script)?/.test("state: both Java and JavaScript used in web development"); @@ -14,5 +16,3 @@ __executed = /java(script)?/.test("state: both Java and JavaScript used in web d if (__executed) { $ERROR('#1: /java(script)?/.test("state: both Java and JavaScript used in web development") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T4.js index 0f418f37c..40dc6c2b9 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T4.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1 - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T4.js - * @description Execute /cd?e/.exec("abcdef") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: ? evaluates by returning the two + results 0 and 1 +description: Execute /cd?e/.exec("abcdef") and check results +---*/ __executed = /cd?e/.exec("abcdef"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /cd?e/.exec("abcdef"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T5.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T5.js index 78736fba7..0bde30d31 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T5.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T5.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1 - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T5.js - * @description Execute /cdx?e/.exec("abcdef") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: ? evaluates by returning the two + results 0 and 1 +description: Execute /cdx?e/.exec("abcdef") and check results +---*/ __executed = /cdx?e/.exec("abcdef"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /cdx?e/.exec("abcdef"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T6.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T6.js index 5d50c362f..e6c8adbc9 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T6.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T6.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1 - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T6.js - * @description Execute /o?pqrst/.exec("pqrstuvw") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: ? evaluates by returning the two + results 0 and 1 +description: Execute /o?pqrst/.exec("pqrstuvw") and check results +---*/ __executed = /o?pqrst/.exec("pqrstuvw"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /o?pqrst/.exec("pqrstuvw"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T7.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T7.js index 5714b2e76..eb135023e 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T7.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T7.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1 - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T7.js - * @description Execute /x?y?z?/.exec("abcd") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: ? evaluates by returning the two + results 0 and 1 +description: Execute /x?y?z?/.exec("abcd") and check results +---*/ __executed = /x?y?z?/.exec("abcd"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /x?y?z?/.exec("abcd"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T8.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T8.js index e50dc6179..7cd33de67 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T8.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T8.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1 - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T8.js - * @description Execute /x?ay?bz?c/.exec("abcd") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: ? evaluates by returning the two + results 0 and 1 +description: Execute /x?ay?bz?c/.exec("abcd") and check results +---*/ __executed = /x?ay?bz?c/.exec("abcd"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /x?ay?bz?c/.exec("abcd"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T9.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T9.js index 2f6b84ea8..15de307b0 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T9.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T9.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: ? evaluates by returning the two results 0 and 1 - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A5_T9.js - * @description Execute /b?b?b?b/.exec("abbbbc") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: ? evaluates by returning the two + results 0 and 1 +description: Execute /b?b?b?b/.exec("abbbbc") and check results +---*/ __executed = /b?b?b?b/.exec("abbbbc"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /b?b?b?b/.exec("abbbbc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T1.js index 02646ecaf..b277ea804 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T1.js @@ -1,14 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows: - * i) Let i be the MV of DecimalDigits - * ii) Return the two results i and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T1.js - * @description Execute /b{2,}c/.exec("aaabbbbcccddeeeefffff") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows: + i) Let i be the MV of DecimalDigits + ii) Return the two results i and \infty +description: Execute /b{2,}c/.exec("aaabbbbcccddeeeefffff") and check results +---*/ __executed = /b{2,}c/.exec("aaabbbbcccddeeeefffff"); @@ -37,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /b{2,}c/.exec("aaabbbbcccddeeeefffff"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T2.js index bf2d2e8de..7aecbd6cb 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T2.js @@ -1,14 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows: - * i) Let i be the MV of DecimalDigits - * ii) Return the two results i and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T2.js - * @description Execute /b{8,}c/.test("aaabbbbcccddeeeefffff") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows: + i) Let i be the MV of DecimalDigits + ii) Return the two results i and \infty +description: Execute /b{8,}c/.test("aaabbbbcccddeeeefffff") and check results +---*/ __executed = /b{8,}c/.test("aaabbbbcccddeeeefffff"); @@ -16,5 +15,3 @@ __executed = /b{8,}c/.test("aaabbbbcccddeeeefffff"); if (__executed) { $ERROR('#1: /b{8,}c/.test("aaabbbbcccddeeeefffff") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T3.js index 99966c765..3db3803cf 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T3.js @@ -1,14 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows: - * i) Let i be the MV of DecimalDigits - * ii) Return the two results i and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T3.js - * @description Execute /\d{1,}/.exec("wqe456646dsff") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows: + i) Let i be the MV of DecimalDigits + ii) Return the two results i and \infty +description: Execute /\d{1,}/.exec("wqe456646dsff") and check results +---*/ __executed = /\d{1,}/.exec("wqe456646dsff"); @@ -37,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\d{1,}/.exec("wqe456646dsff"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T4.js index 0d8a9ae56..d06a2ccb0 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T4.js @@ -1,14 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows: - * i) Let i be the MV of DecimalDigits - * ii) Return the two results i and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T4.js - * @description Execute /(123){1,}/.exec("123123") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows: + i) Let i be the MV of DecimalDigits + ii) Return the two results i and \infty +description: Execute /(123){1,}/.exec("123123") and check results +---*/ __executed = /(123){1,}/.exec("123123"); @@ -37,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(123){1,}/.exec("123123"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T5.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T5.js index 514308943..b5b690201 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T5.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T5.js @@ -1,14 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows: - * i) Let i be the MV of DecimalDigits - * ii) Return the two results i and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T5.js - * @description Execute /(123){1,}x\1/.exec("123123x123") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows: + i) Let i be the MV of DecimalDigits + ii) Return the two results i and \infty +description: Execute /(123){1,}x\1/.exec("123123x123") and check results +---*/ __executed = /(123){1,}x\1/.exec("123123x123"); @@ -37,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(123){1,}x\\1/.exec("123123x123"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T6.js b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T6.js index cdc5ba6cd..3019a6c02 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T6.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T6.js @@ -1,14 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows: - * i) Let i be the MV of DecimalDigits - * ii) Return the two results i and \infty - * - * @path ch15/15.10/15.10.2/15.10.2.7/S15.10.2.7_A6_T6.js - * @description Execute /x{1,2}x{1,}/.exec("xxxxxxx") and check results - */ +/*--- +info: > + The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows: + i) Let i be the MV of DecimalDigits + ii) Return the two results i and \infty +description: Execute /x{1,2}x{1,}/.exec("xxxxxxx") and check results +---*/ __executed = /x{1,2}x{1,}/.exec("xxxxxxx"); @@ -37,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /x{1,2}x{1,}/.exec("xxxxxxx"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - |