diff options
Diffstat (limited to 'test/suite/ch15/15.10/15.10.2')
325 files changed, 2478 insertions, 2957 deletions
diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.1_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.1_T1.js index d4cfc054d..1e0e8e8de 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.1_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.1_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. -/** - * The production CharacterEscape :: t evaluates by returning - * the character \u0009 - * - * @path ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.1_T1.js - * @description Use \t in RegExp and \u0009 in tested string - */ +/*--- +info: > + The production CharacterEscape :: t evaluates by returning + the character \u0009 +description: Use \t in RegExp and \u0009 in tested string +---*/ //CHECK#1 var arr = /\t/.exec("\u0009"); @@ -19,5 +18,4 @@ if ((arr === null) || (arr[0] !== "\u0009")) { var arr = /\t\t/.exec("a\u0009\u0009b"); if ((arr === null) || (arr[0] !== "\u0009\u0009")) { $ERROR('#2: var arr = /\\t\\t/.exec("a\\u0009\\u0009b"); arr[0] === "\\u0009\\u0009". Actual. ' + (arr && arr[0])); -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.2_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.2_T1.js index c0294ae78..d2471d637 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.2_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.2_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. -/** - * The production CharacterEscape :: n evaluates by returning - * the character \u000A - * - * @path ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.2_T1.js - * @description Use \n in RegExp and \u000A in tested string - */ +/*--- +info: > + The production CharacterEscape :: n evaluates by returning + the character \u000A +description: Use \n in RegExp and \u000A in tested string +---*/ //CHECK#1 var arr = /\n/.exec("\u000A"); @@ -19,5 +18,4 @@ if ((arr === null) || (arr[0] !== "\u000A")) { var arr = /\n\n/.exec("a\u000A\u000Ab"); if ((arr === null) || (arr[0] !== "\u000A\u000A")) { $ERROR('#2: var arr = /\\n\\n/.exec("a\\u000A\\u000Ab"); arr[0] === "\\u000A\\u000A". Actual. ' + (arr && arr[0])); -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.3_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.3_T1.js index c1d26f44d..1e6f55005 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.3_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.3_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. -/** - * The production CharacterEscape :: v evaluates by returning - * the character \u000B - * - * @path ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.3_T1.js - * @description Use \v in RegExp and \u000B in tested string - */ +/*--- +info: > + The production CharacterEscape :: v evaluates by returning + the character \u000B +description: Use \v in RegExp and \u000B in tested string +---*/ //CHECK#1 var arr = /\v/.exec("\u000B"); @@ -19,5 +18,4 @@ if ((arr === null) || (arr[0] !== "\u000B")) { var arr = /\v\v/.exec("a\u000B\u000Bb"); if ((arr === null) || (arr[0] !== "\u000B\u000B")) { $ERROR('#2: var arr = /\\v\\v/.exec("a\\u000B\\u000Bb"); arr[0] === "\\u000B\\u000B". Actual. ' + (arr && arr[0])); -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.4_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.4_T1.js index 4b3b0f1b2..4ca86c97f 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.4_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.4_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. -/** - * The production CharacterEscape :: f evaluates by returning - * the character \u000C - * - * @path ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.4_T1.js - * @description Use \f in RegExp and \u000C in tested string - */ +/*--- +info: > + The production CharacterEscape :: f evaluates by returning + the character \u000C +description: Use \f in RegExp and \u000C in tested string +---*/ //CHECK#1 var arr = /\f/.exec("\u000C"); @@ -19,5 +18,4 @@ if ((arr === null) || (arr[0] !== "\u000C")) { var arr = /\f\f/.exec("a\u000C\u000Cb"); if ((arr === null) || (arr[0] !== "\u000C\u000C")) { $ERROR('#2: var arr = /\\f\\f/.exec("a\\u000C\\u000Cb"); arr[0] === "\\u000C\\u000C". Actual. ' + (arr && arr[0])); -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.5_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.5_T1.js index d69e42496..e05599dbd 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.5_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.5_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. -/** - * The production CharacterEscape :: r evaluates by returning - * the character \u000D - * - * @path ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A1.5_T1.js - * @description Use \r in RegExp and \u000D in tested string - */ +/*--- +info: > + The production CharacterEscape :: r evaluates by returning + the character \u000D +description: Use \r in RegExp and \u000D in tested string +---*/ //CHECK#1 var arr = /\r/.exec("\u000D"); @@ -19,5 +18,4 @@ if ((arr === null) || (arr[0] !== "\u000D")) { var arr = /\r\r/.exec("a\u000D\u000Db"); if ((arr === null) || (arr[0] !== "\u000D\u000D")) { $ERROR('#2: var arr = /\\r\\r/.exec("a\\u000D\\u000Db"); arr[0] === "\\u000D\\u000D". Actual. ' + (arr && arr[0])); -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A2.1_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A2.1_T1.js index 623c912ea..e620e4840 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A2.1_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A2.1_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * CharacterEscape :: c ControlLetter - * - * @path ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A2.1_T1.js - * @description ControlLetter :: A - Z - */ +/*--- +info: "CharacterEscape :: c ControlLetter" +description: "ControlLetter :: A - Z" +---*/ //CHECK#0041-005A var result = true; @@ -20,5 +18,4 @@ for (alpha = 0x0041; alpha <= 0x005A; alpha++) { if (result !== true) { $ERROR('#1: CharacterEscape :: c A - Z'); -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A2.1_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A2.1_T2.js index 2b6a3937b..6b02edd06 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A2.1_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A2.1_T2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * CharacterEscape :: c ControlLetter - * - * @path ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A2.1_T2.js - * @description ControlLetter :: a - z - */ +/*--- +info: "CharacterEscape :: c ControlLetter" +description: "ControlLetter :: a - z" +---*/ //CHECK#0061-007A var result = true; @@ -20,5 +18,4 @@ for (alpha = 0x0061; alpha <= 0x007A; alpha++) { if (result !== true) { $ERROR('#1: CharacterEscape :: c a - z'); -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A2.1_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A2.1_T3.js index bdf21e064..4da079671 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A2.1_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A2.1_T3.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * CharacterEscape :: c ControlLetter - * - * @path ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A2.1_T3.js - * @description ControlLetter :: RUSSIAN ALPHABET is incorrect - */ +/*--- +info: "CharacterEscape :: c ControlLetter" +description: "ControlLetter :: RUSSIAN ALPHABET is incorrect" +---*/ //CHECK#0410-042F var result = true; @@ -34,5 +32,4 @@ for (alpha = 0x0430; alpha <= 0x044F; alpha++) { if (result !== true) { $ERROR('#2: russian small alphabet is incorrect'); -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A3.1_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A3.1_T1.js index 2a431dc18..4d6e83325 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A3.1_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A3.1_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * CharacterEscape :: HexEscapeSequence :: x HexDigit HexDigit - * - * @path ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A3.1_T1.js - * @description Tested string include equal unicode symbols - */ +/*--- +info: "CharacterEscape :: HexEscapeSequence :: x HexDigit HexDigit" +description: Tested string include equal unicode symbols +---*/ //CHECK#0 var arr = /\x00/.exec("\u0000"); @@ -31,4 +29,3 @@ var arr = /\xFF/.exec("\u00FF"); if ((arr === null) || (arr[0] !== "\u00FF")) { $ERROR('#3: var arr = /\\xFF/.exec(\\u00FF); arr[0] === "\\u00FF". Actual. ' + (arr && arr[0])); } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A3.1_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A3.1_T2.js index 789ee29c1..8b04ba3c3 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A3.1_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A3.1_T2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * CharacterEscape :: HexEscapeSequence :: x HexDigit HexDigit - * - * @path ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A3.1_T2.js - * @description Checking ENGLISH CAPITAL ALPHABET and english small alphabet - */ +/*--- +info: "CharacterEscape :: HexEscapeSequence :: x HexDigit HexDigit" +description: Checking ENGLISH CAPITAL ALPHABET and english small alphabet +---*/ //CHECK#41-5A hex = ["\\x41", "\\x42", "\\x43", "\\x44", "\\x45", "\\x46", "\\x47", "\\x48", "\\x49", "\\x4A", "\\x4B", "\\x4C", "\\x4D", "\\x4E", "\\x4F", "\\x50", "\\x51", "\\x52", "\\x53", "\\x54", "\\x55", "\\x56", "\\x57", "\\x58", "\\x59", "\\x5A"]; @@ -36,5 +34,4 @@ for (index = 0; index < hex.length; index++) { if (result !== true) { $ERROR('#1: english small alphabet'); -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A4.1_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A4.1_T1.js index 7da30da23..9598b6a6c 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A4.1_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A4.1_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. -/** - * CharacterEscape :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit HexDigit - * - * @path ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A4.1_T1.js - * @description RegExp and tested string include uncode symbols - */ +/*--- +info: > + CharacterEscape :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit + HexDigit +description: RegExp and tested string include uncode symbols +---*/ //CHECK#0 var arr = /\u0000/.exec("\u0000"); @@ -43,4 +43,3 @@ var arr = /\uFFFF/.exec("\uFFFF"); if ((arr === null) || (arr[0] !== "\uFFFF")) { $ERROR('#5: var arr = /\\uFFFF/.exec(\\uFFFF); arr[0] === "\\uFFFF". Actual. ' + (arr && arr[0])); } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A4.1_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A4.1_T2.js index 115b8d841..a7cf10413 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A4.1_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A4.1_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. -/** - * CharacterEscape :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit HexDigit - * - * @path ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A4.1_T2.js - * @description Tested string include ENGLISH CAPITAL ALPHABET and english small alphabet - */ +/*--- +info: > + CharacterEscape :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit + HexDigit +description: > + Tested string include ENGLISH CAPITAL ALPHABET and english small + alphabet +---*/ //CHECK#41-5A hex = ["\\u0041", "\\u0042", "\\u0043", "\\u0044", "\\u0045", "\\u0046", "\\u0047", "\\u0048", "\\u0049", "\\u004A", "\\u004B", "\\u004C", "\\u004D", "\\u004E", "\\u004F", "\\u0050", "\\u0051", "\\u0052", "\\u0053", "\\u0054", "\\u0055", "\\u0056", "\\u0057", "\\u0058", "\\u0059", "\\u005A"]; @@ -36,5 +38,4 @@ for (index = 0; index < hex.length; index++) { if (result !== true) { $ERROR('#1: english small alphabet'); -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A4.1_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A4.1_T3.js index 9904a3482..408523c1d 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A4.1_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A4.1_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. -/** - * CharacterEscape :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit HexDigit - * - * @path ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A4.1_T3.js - * @description Tested string include RUSSIAN CAPITAL ALPHABET and russian small alphabet in unicode notation - */ +/*--- +info: > + CharacterEscape :: UnicodeEscapeSequence :: u HexDigit HexDigit HexDigit + HexDigit +description: > + Tested string include RUSSIAN CAPITAL ALPHABET and russian small + alphabet in unicode notation +---*/ //CHECK#0410-042F, 0401 hex = ["\\u0410", "\\u0411", "\\u0412", "\\u0413", "\\u0414", "\\u0415", "\\u0416", "\\u0417", "\\u0418", "\\u0419", "\\u041A", "\\u041B", "\\u041C", "\\u041D", "\\u041E", "\\u041F", "\\u0420", "\\u0421", "\\u0422", "\\u0423", "\\u0424", "\\u0425", "\\u0426", "\\u0427", "\\u0428", "\\u0429", "\\u042A", "\\u042B", "\\u042C", "\\u042D", "\\u042E", "\\u042F", "\\u0401"]; @@ -37,4 +39,3 @@ for (index = 0; index < hex.length; index++) { if (result !== true) { $ERROR('#1: russian small alphabet'); } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A5.1_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A5.1_T1.js index 16517f4aa..dc010d63a 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A5.1_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A5.1_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. -/** - * CharacterEscape :: IdentityEscapeSequence :: SourceCharacter but not IdentifierPart - * - * @path ch15/15.10/15.10.2/15.10.2.10/S15.10.2.10_A5.1_T1.js - * @description Tested string is "~`!@#$%^&*()-+={[}]|\\:;'<,>./?" + '"' - */ +/*--- +info: > + CharacterEscape :: IdentityEscapeSequence :: SourceCharacter but not + IdentifierPart +description: "Tested string is \"~`!@#$%^&*()-+={[}]|\\\\:;'<,>./?\" + '\"'" +---*/ //CHECK#1 var non_ident = "~`!@#$%^&*()-+={[}]|\\:;'<,>./?" + '"'; @@ -18,5 +18,4 @@ do { if (non_ident.length !== k) { $ERROR('#1: IdentityEscapeSequence :: SourceCharacter but not IdentifierPart'); -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T1.js index 306eec084..1e6687534 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_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. -/** - * DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit] - * - * @path ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T1.js - * @description DecimalEscape :: 0. If i is zero, return the EscapeValue consisting of a <NUL> character (Unicodevalue0000) - */ +/*--- +info: "DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]" +description: > + DecimalEscape :: 0. If i is zero, return the EscapeValue + consisting of a <NUL> character (Unicodevalue0000) +---*/ //CHECK#1 var arr = /\0/.exec("\u0000"); @@ -19,4 +19,3 @@ var arr = (new RegExp("\\0")).exec("\u0000"); if ((arr === null) || (arr[0] !== "\u0000")) { $ERROR('#2: var arr = (new RegExp("\\0")).exec(\\u0000); arr[0] === "\\u0000". Actual. ' + (arr && arr[0])); } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T4.js index fb1cb4676..7bedb8ff2 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T4.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit] - * - * @path ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T4.js - * @description DecimalIntegerLiteral is not 0 - */ +/*--- +info: "DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]" +description: DecimalIntegerLiteral is not 0 +---*/ var arr = /(A)\1/.exec("AA"); @@ -18,5 +16,4 @@ if ((arr === null) || (arr[0] !== "AA")) { //CHECK#2 if ((arr === null) || (arr[1] !== "A")) { $ERROR('#2: var arr = (/(A)\\1/.exec("AA")); arr[1] === "A". Actual. ' + (arr && arr[1])); -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T5.js b/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T5.js index d96e9f82b..502e778f8 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T5.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T5.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit] - * - * @path ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T5.js - * @description DecimalIntegerLiteral is not 0 - */ +/*--- +info: "DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]" +description: DecimalIntegerLiteral is not 0 +---*/ var arr = /\1(A)/.exec("AA"); @@ -18,5 +16,4 @@ if ((arr === null) || (arr[0] !== "A")) { //CHECK#2 if ((arr === null) || (arr[1] !== "A")) { $ERROR('#2: var arr = (/\\1(A)/.exec("AA")); arr[1] === "A". Actual. ' + (arr && arr[1])); -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T6.js b/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T6.js index 93fe35a09..2def73463 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T6.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T6.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit] - * - * @path ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T6.js - * @description DecimalIntegerLiteral is not 0 - */ +/*--- +info: "DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]" +description: DecimalIntegerLiteral is not 0 +---*/ var arr = /(A)\1(B)\2/.exec("AABB"); @@ -23,5 +21,4 @@ if ((arr === null) || (arr[1] !== "A")) { //CHECK#3 if ((arr === null) || (arr[2] !== "B")) { $ERROR('#3: var arr = /(A)\\1(B)\\2/.exec("AABB"); arr[2] === "B". Actual. ' + (arr && arr[2])); -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T7.js b/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T7.js index 4adb97ead..10cd6f242 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T7.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T7.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit] - * - * @path ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T7.js - * @description DecimalIntegerLiteral is not 0 - */ +/*--- +info: "DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]" +description: DecimalIntegerLiteral is not 0 +---*/ var arr = /\1(A)(B)\2/.exec("ABB"); @@ -23,5 +21,4 @@ if ((arr === null) || (arr[1] !== "A")) { //CHECK#3 if ((arr === null) || (arr[2] !== "B")) { $ERROR('#3: var arr = /\\1(A)(B)\\2/.exec("ABB"); arr[2] === "B". Actual. ' + (arr && arr[2])); -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T8.js b/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T8.js index d0915d52f..f79912acb 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T8.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T8.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit] - * - * @path ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T8.js - * @description DecimalIntegerLiteral is not 0 - */ +/*--- +info: "DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]" +description: DecimalIntegerLiteral is not 0 +---*/ var arr = /((((((((((A))))))))))\1\2\3\4\5\6\7\8\9\10/.exec("AAAAAAAAAAA"); @@ -20,5 +18,4 @@ for (i = 1; i <= 10; i++) { if ((arr === null) || (arr[i] !== "A")) { $ERROR('#2: var arr = /((((((((((A))))))))))\\1\\2\\3\\4\\5\\6\\7\\8\\9\\10/.exec("AAAAAAAAAAA"); arr[' + i + '] === "A". Actual. ' + (arr && arr[i])); } -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T9.js b/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T9.js index b2dfb4ee3..943fd37bc 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T9.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T9.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit] - * - * @path ch15/15.10/15.10.2/15.10.2.11/S15.10.2.11_A1_T9.js - * @description DecimalIntegerLiteral is not 0 - */ +/*--- +info: "DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]" +description: DecimalIntegerLiteral is not 0 +---*/ var arr = /((((((((((A))))))))))\10\9\8\7\6\5\4\3\2\1/.exec("AAAAAAAAAAA"); @@ -20,5 +18,4 @@ for (i = 1; i <= 10; i++) { if ((arr === null) || (arr[i] !== "A")) { $ERROR('#2: var arr = /((((((((((A))))))))))\\10\\9\\8\\7\\6\\5\\4\\3\\2\\1/.exec("AAAAAAAAAAA"); arr[' + i + '] === "A". Actual. ' + (arr && arr[i])); } -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T1.js index 482e089d5..2cbd8b4e1 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_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. -/** - * The production CharacterClassEscape :: s evaluates by returning the set of characters - * containing the characters that are on the right-hand side of the WhiteSpace (7.2) or LineTerminator (7.3) productions - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T1.js - * @description WhiteSpace - */ +/*--- +info: > + The production CharacterClassEscape :: s evaluates by returning the set of characters + containing the characters that are on the right-hand side of the WhiteSpace (7.2) or LineTerminator (7.3) productions +description: WhiteSpace +---*/ var i0 = ""; for (var j = 0; j < 1024; j++) @@ -526,4 +525,4 @@ if (i63.replace(/\s+/g, "") !== o63) { var i64 = String.fromCharCode(65279); if (i64.replace(/\s/g, "") !== "") { $ERROR("#64: Error matching character class \s for BOM (feff)"); -}
\ No newline at end of file +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T2.js index 52716fa8c..f497a9c60 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_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. -/** - * The production CharacterClassEscape :: s evaluates by returning the set of characters - * containing the characters that are on the right-hand side of the WhiteSpace (7.2) or LineTerminator (7.3) productions - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T2.js - * @description LineTerminator - */ +/*--- +info: > + The production CharacterClassEscape :: s evaluates by returning the set of characters + containing the characters that are on the right-hand side of the WhiteSpace (7.2) or LineTerminator (7.3) productions +description: LineTerminator +---*/ //CHECK#1 var arr = /\s/.exec("\u000A"); @@ -31,5 +30,4 @@ if ((arr === null) || (arr[0] !== "\u2028")) { var arr = /\s/.exec("\u2029"); if ((arr === null) || (arr[0] !== "\u2029")) { $ERROR('#4: var arr = /\\s/.exec("\\u2029"); arr[0] === "\\u2029". Actual. ' + (arr && arr[0])); -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T3.js index a33d7dfbc..19a030b4e 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_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. -/** - * The production CharacterClassEscape :: s evaluates by returning the set of characters - * containing the characters that are on the right-hand side of the WhiteSpace (7.2) or LineTerminator (7.3) productions - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T3.js - * @description ENGLISH ALPHABET - */ +/*--- +info: > + The production CharacterClassEscape :: s evaluates by returning the set of characters + containing the characters that are on the right-hand side of the WhiteSpace (7.2) or LineTerminator (7.3) productions +description: ENGLISH ALPHABET +---*/ var regexp_s = /\s/; @@ -33,5 +32,4 @@ for (alpha = 0x0061; alpha <= 0x007A; alpha++) { if (result !== true) { $ERROR('#2: english small alphabet'); -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T4.js index 87c33c7c7..d95da91fc 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_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. -/** - * The production CharacterClassEscape :: s evaluates by returning the set of characters - * containing the characters that are on the right-hand side of the WhiteSpace (7.2) or LineTerminator (7.3) productions - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T4.js - * @description RUSSIAN ALPHABET - */ +/*--- +info: > + The production CharacterClassEscape :: s evaluates by returning the set of characters + containing the characters that are on the right-hand side of the WhiteSpace (7.2) or LineTerminator (7.3) productions +description: RUSSIAN ALPHABET +---*/ var regexp_s = /\s/; @@ -34,4 +33,3 @@ for (alpha = 0x0430; alpha <= 0x044F; alpha++) { if (result !== true) { $ERROR('#2: russian small alphabet'); } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T5.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T5.js index 4e08b1f65..23fd19261 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T5.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T5.js @@ -1,13 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production CharacterClassEscape :: s evaluates by returning the set of characters - * containing the characters that are on the right-hand side of the WhiteSpace (7.2) or LineTerminator (7.3) productions - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A1_T5.js - * @description Tested string is "0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~`!@#$%^&*()-+={[}]|\\:;'<,>./?" + '"' - */ +/*--- +info: > + The production CharacterClassEscape :: s evaluates by returning the set of characters + containing the characters that are on the right-hand side of the WhiteSpace (7.2) or LineTerminator (7.3) productions +description: > + Tested string is + "0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~`!@#$%^&*()-+={[}]|\\:;'<,>./?" + + '"' +---*/ //CHECK#1 var non_s = "0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~`!@#$%^&*()-+={[}]|\\:;'<,>./?" + '"'; @@ -25,5 +27,4 @@ while (regexp_s.exec(non_S) !== null) { if (non_S.length !== k) { $ERROR('#2: non-S'); -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T1.js index 36a45391b..061996200 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_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 CharacterClassEscape :: S evaluates by returning - * the set of all characters not included in the set returned by - * CharacterClassEscape :: s - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T1.js - * @description WhiteSpace - */ +/*--- +info: > + The production CharacterClassEscape :: S evaluates by returning + the set of all characters not included in the set returned by + CharacterClassEscape :: s +description: WhiteSpace +---*/ var i0 = ""; for (var j = 0; j < 1024; j++) @@ -527,4 +526,4 @@ if (i63.replace(/\S+/g, "") !== o63) { var i64 = String.fromCharCode(65279); if (i64.replace(/\S/g, "") === "") { $ERROR("#64: Error matching character class \S for BOM (feff)"); -}
\ No newline at end of file +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T2.js index 2cc29e04c..bb37b71d0 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_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 CharacterClassEscape :: S evaluates by returning - * the set of all characters not included in the set returned by - * CharacterClassEscape :: s - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T2.js - * @description LineTerminator - */ +/*--- +info: > + The production CharacterClassEscape :: S evaluates by returning + the set of all characters not included in the set returned by + CharacterClassEscape :: s +description: LineTerminator +---*/ //CHECK#1 var arr = /\S/.exec("\u000A"); @@ -32,5 +31,4 @@ if (arr !== null) { var arr = /\S/.exec("\u2029"); if (arr !== null) { $ERROR('#4: var arr = /\\S/.exec("\\u2029"); arr[0] === "\\u2029". Actual. ' + (arr && arr[0])); -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T3.js index 66a831f10..301fd219a 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_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 CharacterClassEscape :: S evaluates by returning - * the set of all characters not included in the set returned by - * CharacterClassEscape :: s - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T3.js - * @description ENGLISH ALPHABET - */ +/*--- +info: > + The production CharacterClassEscape :: S evaluates by returning + the set of all characters not included in the set returned by + CharacterClassEscape :: s +description: ENGLISH ALPHABET +---*/ var regexp_S = /\S/; @@ -38,5 +37,4 @@ for (alpha = 0x0061; alpha <= 0x007A; alpha++) { if (result !== true) { $ERROR('#2: english small alphabet'); -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T4.js index 56d511ec6..93b3c35bc 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_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 CharacterClassEscape :: S evaluates by returning - * the set of all characters not included in the set returned by - * CharacterClassEscape :: s - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T4.js - * @description RUSSIAN ALPHABET - */ +/*--- +info: > + The production CharacterClassEscape :: S evaluates by returning + the set of all characters not included in the set returned by + CharacterClassEscape :: s +description: RUSSIAN ALPHABET +---*/ var regexp_S = /\S/; @@ -39,4 +38,3 @@ for (alpha = 0x0430; alpha <= 0x044F; alpha++) { if (result !== true) { $ERROR('#2: russian small alphabet'); } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T5.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T5.js index 7dbcfcb1a..9cbf5eb2f 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T5.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T5.js @@ -1,14 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production CharacterClassEscape :: S evaluates by returning - * the set of all characters not included in the set returned by - * CharacterClassEscape :: s - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A2_T5.js - * @description Tested string is "0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~`!@#$%^&*()-+={[}]|\\:;'<,>./?" + '"' - */ +/*--- +info: > + The production CharacterClassEscape :: S evaluates by returning + the set of all characters not included in the set returned by + CharacterClassEscape :: s +description: > + Tested string is + "0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~`!@#$%^&*()-+={[}]|\\:;'<,>./?" + + '"' +---*/ //CHECK#1 var non_s = "0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ~`!@#$%^&*()-+={[}]|\\:;'<,>./?" + '"'; @@ -27,4 +29,3 @@ var non_S = '\f\n\r\t\v '; if (/\S/.exec(non_S) !== null) { $ERROR('#2: non-S'); } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_T1.js index df3a3e82a..a09ecced0 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_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. -/** - * The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters: - * a - z, A - Z, 0 - 9, _ - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_T1.js - * @description A - Z - */ +/*--- +info: > + The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters: + a - z, A - Z, 0 - 9, _ +description: A - Z +---*/ var i0 = ""; for (var j = 0; j < 256; j++) @@ -2056,4 +2055,3 @@ var o255 = i255; if (i255.replace(/\w+/g, "") !== o255) { $ERROR("#255: Error matching character class \w between character ff00 and ffff"); } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_T2.js index 5a1f80a84..26ef9687c 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_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. -/** - * The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters: - * a - z, A - Z, 0 - 9, _ - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_T2.js - * @description a - z - */ +/*--- +info: > + The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters: + a - z, A - Z, 0 - 9, _ +description: a - z +---*/ var regexp_w = /\w/; @@ -24,4 +23,3 @@ for (alpha = 0x0061; alpha <= 0x007A; alpha++) { if (result !== true) { $ERROR('#1: a - z'); } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_T3.js index 1b5833ff4..81209b5de 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_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. -/** - * The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters: - * a - z, A - Z, 0 - 9, _ - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_T3.js - * @description 0 - 9, _ - */ +/*--- +info: > + The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters: + a - z, A - Z, 0 - 9, _ +description: 0 - 9, _ +---*/ var regexp_w = /\w/; @@ -35,4 +34,3 @@ if ((arr === null) || (arr[0] !== "\u005F")) { if (regexp_w.exec(" ") !== null) { $ERROR('#3: '); } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_T4.js index cf2255903..140657af5 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_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. -/** - * The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters: - * a - z, A - Z, 0 - 9, _ - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_T4.js - * @description RUSSIAN ALPHABET - */ +/*--- +info: > + The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters: + a - z, A - Z, 0 - 9, _ +description: RUSSIAN ALPHABET +---*/ var regexp_w = /\w/; @@ -34,4 +33,3 @@ for (alpha = 0x0430; alpha <= 0x044F; alpha++) { if (result !== true) { $ERROR('#2: russian small alphabet'); } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_T5.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_T5.js index 3efca98cf..e5d7c9ee8 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_T5.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_T5.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. -/** - * The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters: - * a - z, A - Z, 0 - 9, _ - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A3_T5.js - * @description non-w - */ +/*--- +info: > + The production CharacterClassEscape :: w evaluates by returning the set of characters containing the sixty-three characters: + a - z, A - Z, 0 - 9, _ +description: non-w +---*/ //CHECK#1 var non_w = "\f\n\r\t\v~`!@#$%^&*()-+={[}]|\\:;'<,>./? " + '"'; @@ -25,5 +24,4 @@ while (regexp_w.exec(non_W) !== null) { if (non_W.length !== k) { $ERROR('#2: non-W'); -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_T1.js index 97b79fe36..43fbbe0fd 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_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. -/** - * The production CharacterClassEscape :: W evaluates by returning the set of all characters not - * included in the set returned by CharacterClassEscape :: w - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_T1.js - * @description A - Z - */ +/*--- +info: > + The production CharacterClassEscape :: W evaluates by returning the set of all characters not + included in the set returned by CharacterClassEscape :: w +description: A - Z +---*/ var i0 = ""; for (var j = 0; j < 1024; j++) @@ -520,4 +519,3 @@ var o63 = ""; if (i63.replace(/\W+/g, "") !== o63) { $ERROR("#63: Error matching character class \W between character fc00 and ffff"); } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_T2.js index 7fc4278b6..fedeb321a 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_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. -/** - * The production CharacterClassEscape :: W evaluates by returning the set of all characters not - * included in the set returned by CharacterClassEscape :: w - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_T2.js - * @description a - z - */ +/*--- +info: > + The production CharacterClassEscape :: W evaluates by returning the set of all characters not + included in the set returned by CharacterClassEscape :: w +description: a - z +---*/ var regexp_W = /\W/; @@ -22,4 +21,3 @@ for (alpha = 0x0061; alpha <= 0x007A; alpha++) { if (result !== true) { $ERROR('#1: a - z'); } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_T3.js index 22cbf5336..54560a093 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_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. -/** - * The production CharacterClassEscape :: W evaluates by returning the set of all characters not - * included in the set returned by CharacterClassEscape :: w - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_T3.js - * @description 0 - 9 - */ +/*--- +info: > + The production CharacterClassEscape :: W evaluates by returning the set of all characters not + included in the set returned by CharacterClassEscape :: w +description: 0 - 9 +---*/ var regexp_W = /\W/; @@ -33,4 +32,3 @@ var arr = regexp_W.exec(" "); if ((arr === null) || (arr[0] !== "\u0020")) { $ERROR('#2: '); } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_T4.js index e5657b968..2fde0c5cb 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_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. -/** - * The production CharacterClassEscape :: W evaluates by returning the set of all characters not - * included in the set returned by CharacterClassEscape :: w - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_T4.js - * @description RUSSIAN ALPHABET - */ +/*--- +info: > + The production CharacterClassEscape :: W evaluates by returning the set of all characters not + included in the set returned by CharacterClassEscape :: w +description: RUSSIAN ALPHABET +---*/ var regexp_W = /\W/; @@ -38,4 +37,3 @@ for (alpha = 0x0430; alpha <= 0x044F; alpha++) { if (result !== true) { $ERROR('#2: russian small alphabet'); } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_T5.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_T5.js index 3e01ed72c..988dc7ec8 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_T5.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_T5.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. -/** - * The production CharacterClassEscape :: W evaluates by returning the set of all characters not - * included in the set returned by CharacterClassEscape :: w - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A4_T5.js - * @description non-w - */ +/*--- +info: > + The production CharacterClassEscape :: W evaluates by returning the set of all characters not + included in the set returned by CharacterClassEscape :: w +description: non-w +---*/ //CHECK#1 var non_w = "\f\n\r\t\v~`!@#$%^&*()-+={[}]|\\:;'<,>./? " + '"'; @@ -26,4 +25,3 @@ var non_W = "_0123456789_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; if (/\W/.exec(non_W) !== null) { $ERROR('#2: non-W'); } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A5_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A5_T1.js index e1602190e..b90b4d9f1 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A5_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A5_T1.js @@ -1,12 +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 CharacterClassEscape :: d evaluates by returning the ten-element set of characters containing the characters 0 through 9 inclusive - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A5_T1.js - * @description 0 - 9 - */ +/*--- +info: > + The production CharacterClassEscape :: d evaluates by returning the + ten-element set of characters containing the characters 0 through 9 + inclusive +description: 0 - 9 +---*/ var i0 = ""; for (var j = 0; j < 1024; j++) @@ -519,4 +520,3 @@ var o63 = i63; if (i63.replace(/\d+/g, "") !== o63) { $ERROR("#63: Error matching character class \d between character fc00 and ffff"); } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A5_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A5_T2.js index 8aa5fd99b..fc9177fce 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A5_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A5_T2.js @@ -1,12 +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 CharacterClassEscape :: d evaluates by returning the ten-element set of characters containing the characters 0 through 9 inclusive - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A5_T2.js - * @description ENGLISH ALPHABET - */ +/*--- +info: > + The production CharacterClassEscape :: d evaluates by returning the + ten-element set of characters containing the characters 0 through 9 + inclusive +description: ENGLISH ALPHABET +---*/ var regexp_d = /\d/; @@ -32,5 +33,4 @@ for (alpha = 0x0061; alpha <= 0x007A; alpha++) { if (result !== true) { $ERROR('#2: english small alphabet'); -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A5_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A5_T3.js index 922266793..f5cb51ff3 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A5_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A5_T3.js @@ -1,12 +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 CharacterClassEscape :: d evaluates by returning the ten-element set of characters containing the characters 0 through 9 inclusive - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A5_T3.js - * @description RUSSIAN ALPHABET - */ +/*--- +info: > + The production CharacterClassEscape :: d evaluates by returning the + ten-element set of characters containing the characters 0 through 9 + inclusive +description: RUSSIAN ALPHABET +---*/ var regexp_d = /\d/; @@ -33,4 +34,3 @@ for (alpha = 0x0430; alpha <= 0x044F; alpha++) { if (result !== true) { $ERROR('#2: russian small alphabet'); } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A5_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A5_T4.js index d8795cfb9..98b07881e 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A5_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A5_T4.js @@ -1,12 +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 CharacterClassEscape :: d evaluates by returning the ten-element set of characters containing the characters 0 through 9 inclusive - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A5_T4.js - * @description non-d - */ +/*--- +info: > + The production CharacterClassEscape :: d evaluates by returning the + ten-element set of characters containing the characters 0 through 9 + inclusive +description: non-d +---*/ //CHECK#1 var non_d = "_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\f\n\r\t\v~`!@#$%^&*()-+={[}]|\\:;'<,>./? " + '"'; @@ -24,5 +25,4 @@ while (regexp_d.exec(non_D) !== null) { if (non_D.length !== k) { $ERROR('#2: non-D'); -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A6_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A6_T1.js index 0cf2a5a04..1753eaadb 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A6_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A6_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. -/** - * The production CharacterClassEscape :: D evaluates by returning the set of all characters not - * included in the set returned by CharacterClassEscape :: d - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A6_T1.js - * @description 0 - 9 - */ +/*--- +info: > + The production CharacterClassEscape :: D evaluates by returning the set of all characters not + included in the set returned by CharacterClassEscape :: d +description: 0 - 9 +---*/ var i0 = ""; for (var j = 0; j < 1024; j++) @@ -520,4 +519,3 @@ var o63 = ""; if (i63.replace(/\D+/g, "") !== o63) { $ERROR("#63: Error matching character class \D between character fc00 and ffff"); } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A6_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A6_T2.js index 320ec141f..60e32dc69 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A6_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A6_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. -/** - * The production CharacterClassEscape :: D evaluates by returning the set of all characters not - * included in the set returned by CharacterClassEscape :: d - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A6_T2.js - * @description ENGLISH ALPHABET - */ +/*--- +info: > + The production CharacterClassEscape :: D evaluates by returning the set of all characters not + included in the set returned by CharacterClassEscape :: d +description: ENGLISH ALPHABET +---*/ var regexp_D = /\D/; @@ -37,5 +36,4 @@ for (alpha = 0x0061; alpha <= 0x007A; alpha++) { if (result !== true) { $ERROR('#2: english small alphabet'); -} - +} diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A6_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A6_T3.js index 1edcdce38..075e86986 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A6_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A6_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. -/** - * The production CharacterClassEscape :: D evaluates by returning the set of all characters not - * included in the set returned by CharacterClassEscape :: d - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A6_T3.js - * @description RUSSIAN ALPHABET - */ +/*--- +info: > + The production CharacterClassEscape :: D evaluates by returning the set of all characters not + included in the set returned by CharacterClassEscape :: d +description: RUSSIAN ALPHABET +---*/ var regexp_D = /\D/; @@ -38,4 +37,3 @@ for (alpha = 0x0430; alpha <= 0x044F; alpha++) { if (result !== true) { $ERROR('#2: russian small alphabet'); } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A6_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A6_T4.js index 662ce119d..71181a447 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A6_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A6_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. -/** - * The production CharacterClassEscape :: D evaluates by returning the set of all characters not - * included in the set returned by CharacterClassEscape :: d - * - * @path ch15/15.10/15.10.2/15.10.2.12/S15.10.2.12_A6_T4.js - * @description RUSSIAN ALPHABET - */ +/*--- +info: > + The production CharacterClassEscape :: D evaluates by returning the set of all characters not + included in the set returned by CharacterClassEscape :: d +description: RUSSIAN ALPHABET +---*/ //CHECK#1 var non_d = "_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\f\n\r\t\v~`!@#$%^&*()-+={[}]|\\:;'<,>./? " + '"'; @@ -26,4 +25,3 @@ var non_d = '0123456789'; if (/\D/.exec(non_d) !== null) { $ERROR('#2: non-d'); } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T1.js index a3f4f4457..c5b84baa1 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T1.js @@ -1,12 +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 CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T1.js - * @description Execute /[]a/.test("\0a\0a") and check results - */ +/*--- +info: > + The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] + evaluates by evaluating ClassRanges to obtain a CharSet and returning + that CharSet and the boolean false +description: Execute /[]a/.test("\0a\0a") and check results +---*/ __executed = /[]a/.test("\0a\0a");; @@ -14,5 +15,3 @@ __executed = /[]a/.test("\0a\0a");; if (__executed) { $ERROR('#1: /[]a/.test("\\0a\\0a") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T10.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T10.js index 5e36a443b..c5d70150d 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T10.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T10.js @@ -1,12 +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 CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T10.js - * @description Execute /[a-c\d]+/.exec("\n\n\abc324234\n") and check results - */ +/*--- +info: > + The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] + evaluates by evaluating ClassRanges to obtain a CharSet and returning + that CharSet and the boolean false +description: Execute /[a-c\d]+/.exec("\n\n\abc324234\n") and check results +---*/ __executed = /[a-c\d]+/.exec("\n\n\abc324234\n"); @@ -35,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[a-c\\d]+/.exec("\\n\\n\\abc324234\\n"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T11.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T11.js index 70e8feac4..412443508 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T11.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T11.js @@ -1,12 +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 CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T11.js - * @description Execute /ab[.]?c/.exec("abc") and check results - */ +/*--- +info: > + The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] + evaluates by evaluating ClassRanges to obtain a CharSet and returning + that CharSet and the boolean false +description: Execute /ab[.]?c/.exec("abc") and check results +---*/ __executed = /ab[.]?c/.exec("abc"); @@ -35,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /ab[.]?c/.exec("abc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T12.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T12.js index 770542b6f..7e4e3f66b 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T12.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T12.js @@ -1,12 +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 CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T12.js - * @description Execute /a[b]c/.exec("abc") and check results - */ +/*--- +info: > + The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] + evaluates by evaluating ClassRanges to obtain a CharSet and returning + that CharSet and the boolean false +description: Execute /a[b]c/.exec("abc") and check results +---*/ __executed = /a[b]c/.exec("abc"); @@ -35,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /a[b]c/.exec("abc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T13.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T13.js index 74ffd0d46..6103e1255 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T13.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T13.js @@ -1,12 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T13.js - * @description Execute /[a-z][^1-9][a-z]/.exec("a1b b2c c3d def f4g") and check results - */ +/*--- +info: > + The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] + evaluates by evaluating ClassRanges to obtain a CharSet and returning + that CharSet and the boolean false +description: > + Execute /[a-z][^1-9][a-z]/.exec("a1b b2c c3d def f4g") and + check results +---*/ __executed = /[a-z][^1-9][a-z]/.exec("a1b b2c c3d def f4g"); @@ -35,5 +38,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[a-z][^1-9][a-z]/.exec("a1b b2c c3d def f4g"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T14.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T14.js index 3fbf7affb..188bbe539 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T14.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T14.js @@ -1,12 +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 CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T14.js - * @description Execute /[*&$]{3}/.exec("123*&$abc") and check results - */ +/*--- +info: > + The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] + evaluates by evaluating ClassRanges to obtain a CharSet and returning + that CharSet and the boolean false +description: Execute /[*&$]{3}/.exec("123*&$abc") and check results +---*/ __executed = /[*&$]{3}/.exec("123*&$abc"); @@ -35,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[*&$]{3}/.exec("123*&$abc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T15.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T15.js index a80ce39bf..efb27f86d 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T15.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T15.js @@ -1,12 +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 CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T15.js - * @description Execute /[\d][\n][^\d]/.exec("line1\nline2") and check results - */ +/*--- +info: > + The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] + evaluates by evaluating ClassRanges to obtain a CharSet and returning + that CharSet and the boolean false +description: Execute /[\d][\n][^\d]/.exec("line1\nline2") and check results +---*/ __executed = /[\d][\n][^\d]/.exec("line1\nline2"); @@ -35,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[\\d][\\n][^\\d]/.exec("line1\\nline2"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T16.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T16.js index ea5be63be..23ca25faf 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T16.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T16.js @@ -1,12 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T16.js - * @description Execute /[\d][\12-\14]{1,}[^\d]/.exec("line1\n\n\n\n\nline2") and check results - */ +/*--- +info: > + The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] + evaluates by evaluating ClassRanges to obtain a CharSet and returning + that CharSet and the boolean false +description: > + Execute /[\d][\12-\14]{1,}[^\d]/.exec("line1\n\n\n\n\nline2") and + check results +---*/ __executed = /[\d][\12-\14]{1,}[^\d]/.exec("line1\n\n\n\n\nline2"); @@ -35,5 +38,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[\\d][\\12-\\14]{1,}[^\\d]/.exec("line1\\n\\n\\n\\n\\nline2"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T17.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T17.js index 28256c88b..8c7402c41 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T17.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T17.js @@ -1,12 +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 CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T17.js - * @description Execute /[]/.exec("a[b\n[]\tc]d") and check results - */ +/*--- +info: > + The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] + evaluates by evaluating ClassRanges to obtain a CharSet and returning + that CharSet and the boolean false +description: Execute /[]/.exec("a[b\n[]\tc]d") and check results +---*/ __executed = /[]/.exec("a[b\n[]\tc]d"); @@ -14,5 +15,3 @@ __executed = /[]/.exec("a[b\n[]\tc]d"); if (__executed !== null) { $ERROR('#1: /[]/.exec("a[b\\n[]\\tc]d") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T2.js index b02086b99..274ddd902 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T2.js @@ -1,12 +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 CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T2.js - * @description Execute /a[]/.test("\0a\0a") and check results - */ +/*--- +info: > + The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] + evaluates by evaluating ClassRanges to obtain a CharSet and returning + that CharSet and the boolean false +description: Execute /a[]/.test("\0a\0a") and check results +---*/ __executed = /a[]/.test("\0a\0a");; @@ -14,5 +15,3 @@ __executed = /a[]/.test("\0a\0a");; if (__executed) { $ERROR('#1: /a[]/.test("\\0a\\0a") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T3.js index f1198a3a7..a5602a8d1 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T3.js @@ -1,12 +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 CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T3.js - * @description Execute /q[ax-zb](?=\s+)/.exec("qYqy ") and check results - */ +/*--- +info: > + The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] + evaluates by evaluating ClassRanges to obtain a CharSet and returning + that CharSet and the boolean false +description: Execute /q[ax-zb](?=\s+)/.exec("qYqy ") and check results +---*/ __executed = /q[ax-zb](?=\s+)/.exec("qYqy "); @@ -35,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /q[ax-zb](?=\\s+)/.exec("qYqy "); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T4.js index a4cb361f8..b24a0c63b 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T4.js @@ -1,12 +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 CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T4.js - * @description Execute /q[ax-zb](?=\s+)/.exec("tqaqy ") and check results - */ +/*--- +info: > + The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] + evaluates by evaluating ClassRanges to obtain a CharSet and returning + that CharSet and the boolean false +description: Execute /q[ax-zb](?=\s+)/.exec("tqaqy ") and check results +---*/ __executed = /q[ax-zb](?=\s+)/.exec("tqaqy "); @@ -35,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /q[ax-zb](?=\\s+)/.exec("tqaqy "); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T5.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T5.js index b8e2aa9a0..a4f6d39ca 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T5.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T5.js @@ -1,12 +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 CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T5.js - * @description Execute /q[ax-zb](?=\s+)/.exec("tqa\t qy ") and check results - */ +/*--- +info: > + The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] + evaluates by evaluating ClassRanges to obtain a CharSet and returning + that CharSet and the boolean false +description: Execute /q[ax-zb](?=\s+)/.exec("tqa\t qy ") and check results +---*/ __executed = /q[ax-zb](?=\s+)/.exec("tqa\t qy "); @@ -35,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /q[ax-zb](?=\\s+)/.exec("tqa\\t qy "); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T6.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T6.js index d84a74b33..fd8542adb 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T6.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T6.js @@ -1,12 +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 CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T6.js - * @description Execute /ab[ercst]de/.exec("abcde") and check results - */ +/*--- +info: > + The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] + evaluates by evaluating ClassRanges to obtain a CharSet and returning + that CharSet and the boolean false +description: Execute /ab[ercst]de/.exec("abcde") and check results +---*/ __executed = /ab[ercst]de/.exec("abcde"); @@ -35,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /ab[ercst]de/.exec("abcde"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T7.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T7.js index e6c7a5d7e..247014b8d 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T7.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T7.js @@ -1,12 +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 CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T7.js - * @description Execute /ab[erst]de/.test("abcde") and check results - */ +/*--- +info: > + The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] + evaluates by evaluating ClassRanges to obtain a CharSet and returning + that CharSet and the boolean false +description: Execute /ab[erst]de/.test("abcde") and check results +---*/ __executed = /ab[erst]de/.test("abcde"); @@ -14,5 +15,3 @@ __executed = /ab[erst]de/.test("abcde"); if (__executed) { $ERROR('#1: /ab[erst]de/.test("abcde") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T8.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T8.js index d69ffefb4..a209148d8 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T8.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T8.js @@ -1,12 +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 CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T8.js - * @description Execute /[d-h]+/.exec("abcdefghijkl") and check results - */ +/*--- +info: > + The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] + evaluates by evaluating ClassRanges to obtain a CharSet and returning + that CharSet and the boolean false +description: Execute /[d-h]+/.exec("abcdefghijkl") and check results +---*/ __executed = /[d-h]+/.exec("abcdefghijkl"); @@ -35,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[d-h]+/.exec("abcdefghijkl"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T9.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T9.js index d95321ce3..2c8135b3c 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T9.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T9.js @@ -1,12 +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 CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean false - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A1_T9.js - * @description Execute /[1234567].{2}/.exec("abc6defghijkl") and check results - */ +/*--- +info: > + The production CharacterClass :: [ [lookahead \notin {^}] ClassRanges ] + evaluates by evaluating ClassRanges to obtain a CharSet and returning + that CharSet and the boolean false +description: Execute /[1234567].{2}/.exec("abc6defghijkl") and check results +---*/ __executed = /[1234567].{2}/.exec("abc6defghijkl"); @@ -35,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[1234567].{2}/.exec("abc6defghijkl"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T1.js index 8410e4d46..1fe6194f0 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T1.js @@ -1,12 +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 CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T1.js - * @description Execute /[^]a/m.exec("a\naba") and check results - */ +/*--- +info: > + The production CharacterClass :: [ ^ ClassRanges ] evaluates by + evaluating ClassRanges to obtain a CharSet and returning that CharSet + and the boolean true +description: Execute /[^]a/m.exec("a\naba") and check results +---*/ __executed = /[^]a/m.exec("a\naba"); @@ -35,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[^]a/m.exec("a\\naba"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T2.js index 12c45c073..29897db63 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T2.js @@ -1,12 +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 CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T2.js - * @description Execute /a[^]/.exec(" a\t\n") and check results - */ +/*--- +info: > + The production CharacterClass :: [ ^ ClassRanges ] evaluates by + evaluating ClassRanges to obtain a CharSet and returning that CharSet + and the boolean true +description: Execute /a[^]/.exec(" a\t\n") and check results +---*/ __executed = /a[^]/.exec(" a\t\n"); @@ -35,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /a[^]/.exec(" a\\t\\n"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T3.js index 2b6bc76e4..b8c5bb3d8 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T3.js @@ -1,12 +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 CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T3.js - * @description Execute /a[^b-z]\s+/.exec("ab an az aY n") and check results - */ +/*--- +info: > + The production CharacterClass :: [ ^ ClassRanges ] evaluates by + evaluating ClassRanges to obtain a CharSet and returning that CharSet + and the boolean true +description: Execute /a[^b-z]\s+/.exec("ab an az aY n") and check results +---*/ __executed = /a[^b-z]\s+/.exec("ab an az aY n"); @@ -35,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /a[^b-z]\\s+/.exec("ab an az aY n"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T4.js index c6690db5d..4b4a32432 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T4.js @@ -1,12 +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 CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T4.js - * @description Execute /[^\b]+/g.exec("easy\bto\u0008ride") and check results - */ +/*--- +info: > + The production CharacterClass :: [ ^ ClassRanges ] evaluates by + evaluating ClassRanges to obtain a CharSet and returning that CharSet + and the boolean true +description: Execute /[^\b]+/g.exec("easy\bto\u0008ride") and check results +---*/ __executed = /[^\b]+/g.exec("easy\bto\u0008ride"); @@ -35,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[^\\b]+/g.exec("easy\\bto\\u0008ride"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T5.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T5.js index 97ba1ad32..76ce8284c 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T5.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T5.js @@ -1,12 +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 CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T5.js - * @description Execute /a[^1-9]c/.exec("abc") and check results - */ +/*--- +info: > + The production CharacterClass :: [ ^ ClassRanges ] evaluates by + evaluating ClassRanges to obtain a CharSet and returning that CharSet + and the boolean true +description: Execute /a[^1-9]c/.exec("abc") and check results +---*/ __executed = /a[^1-9]c/.exec("abc"); @@ -35,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /a[^1-9]c/.exec("abc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T6.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T6.js index f964ffbf0..6bdb5d519 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T6.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T6.js @@ -1,12 +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 CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T6.js - * @description Execute /a[^b]c/.test("abc") and check results - */ +/*--- +info: > + The production CharacterClass :: [ ^ ClassRanges ] evaluates by + evaluating ClassRanges to obtain a CharSet and returning that CharSet + and the boolean true +description: Execute /a[^b]c/.test("abc") and check results +---*/ __executed = /a[^b]c/.test("abc"); @@ -14,5 +15,3 @@ __executed = /a[^b]c/.test("abc"); if (__executed) { $ERROR('#1: /a[^b]c/.test("abc") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T7.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T7.js index 56cd92bd3..4a3eff316 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T7.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T7.js @@ -1,12 +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 CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T7.js - * @description Execute /[^a-z]{4}/.exec("abc#$%def%&*@ghi") and check results - */ +/*--- +info: > + The production CharacterClass :: [ ^ ClassRanges ] evaluates by + evaluating ClassRanges to obtain a CharSet and returning that CharSet + and the boolean true +description: Execute /[^a-z]{4}/.exec("abc#$%def%&*@ghi") and check results +---*/ __executed = /[^a-z]{4}/.exec("abc#$%def%&*@ghi"); @@ -35,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[^a-z]{4}/.exec("abc#$%def%&*@ghi"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T8.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T8.js index 04e53653c..c5b5f459d 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T8.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T8.js @@ -1,12 +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 CharacterClass :: [ ^ ClassRanges ] evaluates by evaluating ClassRanges to obtain a CharSet and returning that CharSet and the boolean true - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A2_T8.js - * @description Execute /[^]/.exec("abc#$%def%&*@ghi") and check results - */ +/*--- +info: > + The production CharacterClass :: [ ^ ClassRanges ] evaluates by + evaluating ClassRanges to obtain a CharSet and returning that CharSet + and the boolean true +description: Execute /[^]/.exec("abc#$%def%&*@ghi") and check results +---*/ __executed = /[^]/.exec("abc#$%def%&*@ghi"); @@ -35,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[^]/.exec("abc#$%def%&*@ghi"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A3_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A3_T1.js index 392445023..2d772286f 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A3_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A3_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Inside a CharacterClass, \b means the backspace character - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A3_T1.js - * @description Execute /.[\b]./.exec("abc\bdef") and check results - */ +/*--- +info: Inside a CharacterClass, \b means the backspace character +description: Execute /.[\b]./.exec("abc\bdef") and check results +---*/ __executed = /.[\b]./.exec("abc\bdef"); @@ -35,5 +33,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /.[\\b]./.exec("abc\\bdef"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A3_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A3_T2.js index f1bd6b63f..8e5cdb4b8 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A3_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A3_T2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Inside a CharacterClass, \b means the backspace character - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A3_T2.js - * @description Execute /c[\b]{3}d/.exec("abc\b\b\bdef") and check results - */ +/*--- +info: Inside a CharacterClass, \b means the backspace character +description: Execute /c[\b]{3}d/.exec("abc\b\b\bdef") and check results +---*/ __executed = /c[\b]{3}d/.exec("abc\b\b\bdef"); @@ -35,5 +33,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /c[\\b]{3}d/.exec("abc\\b\\b\\bdef"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A3_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A3_T3.js index a4e4864c0..0f6903ebb 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A3_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A3_T3.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Inside a CharacterClass, \b means the backspace character - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A3_T3.js - * @description Execute /[^\[\b\]]+/.exec("abc\bdef") and check results - */ +/*--- +info: Inside a CharacterClass, \b means the backspace character +description: Execute /[^\[\b\]]+/.exec("abc\bdef") and check results +---*/ __executed = /[^\[\b\]]+/.exec("abc\bdef"); @@ -35,5 +33,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[^\\[\\b\\]]+/.exec("abc\\bdef"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A3_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A3_T4.js index d97e00f46..a81e28cd9 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A3_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A3_T4.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Inside a CharacterClass, \b means the backspace character - * - * @path ch15/15.10/15.10.2/15.10.2.13/S15.10.2.13_A3_T4.js - * @description Execute /[^\[\b\]]+/.exec("abcdef") and check results - */ +/*--- +info: Inside a CharacterClass, \b means the backspace character +description: Execute /[^\[\b\]]+/.exec("abcdef") and check results +---*/ __executed = /[^\[\b\]]+/.exec("abcdef"); @@ -35,5 +33,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[^\\[\\b\\]]+/.exec("abcdef"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15-3-1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15-3-1.js index a026545e1..61099506e 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15-3-1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15-3-1.js @@ -1,21 +1,23 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.10/15.10.2/15.10.2.15-3-1.js
- * @description Pattern - SyntaxError was thrown when 'A' does not contain exactly one character (15.10.2.5 step 3)
- */
-
-
-function testcase() {
- try {
- var regExp = new RegExp("^[/w-c]$");
-
- return false;
- } catch (e) {
- return e instanceof SyntaxError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Pattern - SyntaxError was thrown when 'A' does not contain exactly + one character (15.10.2.5 step 3) +includes: [runTestCase.js] +---*/ + +function testcase() { + try { + var regExp = new RegExp("^[/w-c]$"); + + return false; + } catch (e) { + return e instanceof SyntaxError; + } + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15-3-2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15-3-2.js index 826529727..d0c84be35 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15-3-2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15-3-2.js @@ -1,21 +1,23 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.10/15.10.2/15.10.2.15-3-2.js
- * @description Pattern - SyntaxError was thrown when 'B' does not contain exactly one character (15.10.2.5 step 3)
- */
-
-
-function testcase() {
- try {
- var regExp = new RegExp("^[a-/w]$");
-
- return false;
- } catch (e) {
- return e instanceof SyntaxError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Pattern - SyntaxError was thrown when 'B' does not contain exactly + one character (15.10.2.5 step 3) +includes: [runTestCase.js] +---*/ + +function testcase() { + try { + var regExp = new RegExp("^[a-/w]$"); + + return false; + } catch (e) { + return e instanceof SyntaxError; + } + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15-6-1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15-6-1.js index 67b1d1a3f..f46e9cb27 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15-6-1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15-6-1.js @@ -1,21 +1,24 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.10/15.10.2/15.10.2.15-6-1.js
- * @description Pattern - SyntaxError was thrown when one character in CharSet 'A' greater than one character in CharSet 'B' (15.10.2.15 CharacterRange step 6)
- */
-
-
-function testcase() {
- try {
- var regExp = new RegExp("^[z-a]$");
-
- return false;
- } catch (e) {
- return e instanceof SyntaxError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Pattern - SyntaxError was thrown when one character in CharSet 'A' + greater than one character in CharSet 'B' (15.10.2.15 + CharacterRange step 6) +includes: [runTestCase.js] +---*/ + +function testcase() { + try { + var regExp = new RegExp("^[z-a]$"); + + return false; + } catch (e) { + return e instanceof SyntaxError; + } + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T1.js index 445093b5d..d04bdfdd9 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T1.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T1.js - * @description Checking if execution of "/[b-ac-e]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[b-ac-e]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[b-ac-e]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T10.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T10.js index 020749a9f..4b119a479 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T10.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T10.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T10.js - * @description Checking if execution of "/[\10b-G]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[\10b-G]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[\\10b-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T11.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T11.js index b88af78e7..84b03ae36 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T11.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T11.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T11.js - * @description Checking if execution of "/[\bd-G]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[\bd-G]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[\\bd-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T12.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T12.js index c81f72ad5..3e253a0a9 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T12.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T12.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T12.js - * @description Checking if execution of "/[\Bd-G]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[\Bd-G]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[\\Bd-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T13.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T13.js index b0406f752..60a1a5d17 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T13.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T13.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T13.js - * @description Checking if execution of "/[\td-G]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[\td-G]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[\\td-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T14.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T14.js index cfb4eadc7..b8d308b5f 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T14.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T14.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T14.js - * @description Checking if execution of "/[\nd-G]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[\nd-G]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[\\nd-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T15.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T15.js index 17ff0ace0..a4b54668b 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T15.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T15.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T15.js - * @description Checking if execution of "/[\vd-G]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[\vd-G]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[\\vd-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T16.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T16.js index 2cede536f..a4a6de44f 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T16.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T16.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T16.js - * @description Checking if execution of "/[\fd-G]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[\fd-G]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[\\fd-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T17.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T17.js index d2e265c99..a09de6528 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T17.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T17.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T17.js - * @description Checking if execution of "/[\rd-G]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[\rd-G]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[\\rd-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T18.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T18.js index f34067454..6fb7a2959 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T18.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T18.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T18.js - * @description Checking if execution of "/[\c0001d-G]/.exec("1")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[\c0001d-G]/.exec("1")" leads to + throwing the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[\\c0001d-G]/.exec("1") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T19.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T19.js index bd569e65b..dfdcef5a8 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T19.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T19.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T19.js - * @description Checking if execution of "/[\x0061d-G]/.exec("1")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[\x0061d-G]/.exec("1")" leads to + throwing the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[\\x0061d-G]/.exec("1") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T2.js index 7047103bb..797d1be39 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T2.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T2.js - * @description Checking if execution of "/[a-dc-b]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[a-dc-b]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[a-dc-b]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T20.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T20.js index 74043d31b..d4f39a909 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T20.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T20.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T20.js - * @description Checking if execution of "/[\u0061d-G]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[\u0061d-G]/.exec("a")" leads to + throwing the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[\\u0061d-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T21.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T21.js index 848393484..bf0f169d5 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T21.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T21.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T21.js - * @description Checking if execution of "/[\ad-G]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[\ad-G]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[\\ad-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T22.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T22.js index aabbacb17..f27a21ffd 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T22.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T22.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T22.js - * @description Checking if execution of "/[c-eb-a]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[c-eb-a]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[c-eb-a]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T23.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T23.js index 0cd3f8f7e..76ceeb90b 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T23.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T23.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T23.js - * @description Checking if execution of "/[b-G\d]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[b-G\d]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[b-G\\d]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T24.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T24.js index d5744bab2..ee7b966b0 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T24.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T24.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T24.js - * @description Checking if execution of "/[b-G\D]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[b-G\D]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[b-G\\D]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T25.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T25.js index 2fc86dcbf..8bd38c081 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T25.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T25.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T25.js - * @description Checking if execution of "/[b-G\s]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[b-G\s]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[b-G\\s]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T26.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T26.js index fecf0d82a..7f8f0fa3c 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T26.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T26.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T26.js - * @description Checking if execution of "/[b-G\S]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[b-G\S]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[b-G\\S]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T27.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T27.js index 961466cfb..02c9b13b3 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T27.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T27.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T27.js - * @description Checking if execution of "/[b-G\w]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[b-G\w]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[b-G\\w]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T28.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T28.js index c4227e1a0..4c499673b 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T28.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T28.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T28.js - * @description Checking if execution of "/[b-G\W]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[b-G\W]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[b-G\\W]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T29.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T29.js index 651f6eed3..d19209741 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T29.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T29.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T29.js - * @description Checking if execution of "/[b-G\0]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[b-G\0]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[b-G\\0]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T3.js index be3e83de9..ca16cc9a2 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T3.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T3.js - * @description Checking if execution of "/[\db-G]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[\db-G]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[\\db-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T30.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T30.js index b70c335db..f83d351db 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T30.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T30.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T30.js - * @description Checking if execution of "/[b-G\10]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[b-G\10]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[b-G\\10]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T31.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T31.js index 4b6a85441..56bbf61db 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T31.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T31.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T31.js - * @description Checking if execution of "/[d-G\b]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[d-G\b]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[d-G\\b]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T32.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T32.js index 35db57aac..7da8e42b1 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T32.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T32.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T32.js - * @description Checking if execution of "/[d-G\B]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[d-G\B]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[d-G\\B]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T33.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T33.js index 77f12e314..36e11a955 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T33.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T33.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T33.js - * @description Checking if execution of "/[d-G\t]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[d-G\t]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[d-G\\t]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T34.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T34.js index 6f1bf0aa5..5d0f2589d 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T34.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T34.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T34.js - * @description Checking if execution of "/[d-G\n]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[d-G\n]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[d-G\\n]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T35.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T35.js index e4bcc9a9a..eb09d9434 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T35.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T35.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T35.js - * @description Checking if execution of "/[d-G\v]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[d-G\v]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[d-G\\v]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T36.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T36.js index eaa9b66cd..78dd9fe4d 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T36.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T36.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T36.js - * @description Checking if execution of "/[d-G\f]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[d-G\f]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[d-G\\f]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T37.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T37.js index 49b37df66..9f3e0dc8a 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T37.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T37.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T37.js - * @description Checking if execution of "/[d-G\r]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[d-G\r]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[d-G\\r]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T38.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T38.js index 43f5dbf92..28bdc540c 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T38.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T38.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T38.js - * @description Checking if execution of "/[d-G\c0001]/.exec("1")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[d-G\c0001]/.exec("1")" leads to + throwing the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[d-G\\c0001]/.exec("1") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T39.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T39.js index bbd17f8d6..028dd3ca3 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T39.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T39.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T39.js - * @description Checking if execution of "/[d-G\x0061]/.exec("1")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[d-G\x0061]/.exec("1")" leads to + throwing the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[d-G\\x0061]/.exec("1") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T4.js index 5a9c458f4..4b593da7b 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T4.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T4.js - * @description Checking if execution of "/[\Db-G]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[\Db-G]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[\\Db-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T40.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T40.js index 061268c94..2c94710e1 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T40.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T40.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T40.js - * @description Checking if execution of "/[d-G\u0061]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[d-G\u0061]/.exec("a")" leads to + throwing the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[d-G\\u0061]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T41.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T41.js index 3dc4f10c4..22e3b1df0 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T41.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T41.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T41.js - * @description Checking if execution of "/[d-G\a]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[d-G\a]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[d-G\\a]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T5.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T5.js index a17b0abc8..c6fcb1403 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T5.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T5.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T5.js - * @description Checking if execution of "/[\sb-G]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[\sb-G]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[\\sb-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T6.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T6.js index 6a20c51d6..84146bcd3 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T6.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T6.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T6.js - * @description Checking if execution of "/[\Sb-G]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[\Sb-G]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[\\Sb-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T7.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T7.js index cee8100a6..ded113ced 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T7.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T7.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T7.js - * @description Checking if execution of "/[\wb-G]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[\wb-G]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[\\wb-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T8.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T8.js index 2f45104d6..7404ff3e3 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T8.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T8.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T8.js - * @description Checking if execution of "/[\Wb-G]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[\Wb-G]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[\\Wb-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T9.js b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T9.js index e4d64bfc8..4acfb1524 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T9.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T9.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The internal helper function CharacterRange takes two CharSet parameters A and B and performs the - * following: - * If A does not contain exactly one character or B does not contain exactly one character then throw - * a SyntaxError exception - * - * @path ch15/15.10/15.10.2/15.10.2.15/S15.10.2.15_A1_T9.js - * @description Checking if execution of "/[\0b-G]/.exec("a")" leads to throwing the correct exception - */ +/*--- +info: > + The internal helper function CharacterRange takes two CharSet parameters A and B and performs the + following: + If A does not contain exactly one character or B does not contain exactly one character then throw + a SyntaxError exception +description: > + Checking if execution of "/[\0b-G]/.exec("a")" leads to throwing + the correct exception +---*/ //CHECK#1 try { @@ -19,4 +20,3 @@ try { $ERROR('#1.2: /[\\0b-G]/.exec("a") throw SyntaxError. Actual: ' + (e)); } } - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.2-1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.2-1.js index c296eeace..89e92589d 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.2-1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.2-1.js @@ -1,21 +1,21 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.10/15.10.2/15.10.2.2-1.js
- * @description Pattern - SyntaxError was thrown when compile a pattern
- */
-
-
-function testcase() {
- try {
- var regExp = new RegExp("\\");
-
- return false;
- } catch (e) {
- return e instanceof SyntaxError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: Pattern - SyntaxError was thrown when compile a pattern +includes: [runTestCase.js] +---*/ + +function testcase() { + try { + var regExp = new RegExp("\\"); + + return false; + } catch (e) { + return e instanceof SyntaxError; + } + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T1.js index a40126f91..66327337c 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_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 | regular expression operator separates two alternatives. - * The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). - * If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) - * - * @path ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T1.js - * @description Execute /a|ab/.exec("abc") and check results - */ +/*--- +info: > + The | regular expression operator separates two alternatives. + The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). + If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) +description: Execute /a|ab/.exec("abc") and check results +---*/ __executed = /a|ab/.exec("abc"); @@ -37,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /a|ab/.exec("abc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T10.js b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T10.js index adec51a48..5d8eeeda6 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T10.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T10.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 | regular expression operator separates two alternatives. - * The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). - * If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) - * - * @path ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T10.js - * @description Execute /(?:ab|cd)+|ef/i.exec("AEKeFCDab") and check results - */ +/*--- +info: > + The | regular expression operator separates two alternatives. + The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). + If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) +description: "Execute /(?:ab|cd)+|ef/i.exec(\"AEKeFCDab\") and check results" +---*/ __executed = /(?:ab|cd)+|ef/i.exec("AEKeFCDab"); @@ -37,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(?:ab|cd)+|ef/i.exec("AEKeFCDab"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T11.js b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T11.js index c1146e5c2..644d6aad1 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T11.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T11.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 | regular expression operator separates two alternatives. - * The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). - * If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) - * - * @path ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T11.js - * @description Execute /11111|111/.exec("1111111111111111") and check results - */ +/*--- +info: > + The | regular expression operator separates two alternatives. + The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). + If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) +description: Execute /11111|111/.exec("1111111111111111") and check results +---*/ __executed = /11111|111/.exec("1111111111111111"); @@ -37,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /11111|111/.exec("1111111111111111"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T12.js b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T12.js index 6668f3683..acae651ab 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T12.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T12.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 | regular expression operator separates two alternatives. - * The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). - * If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) - * - * @path ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T12.js - * @description Execute /xyz|.../.exec("abc") and check results - */ +/*--- +info: > + The | regular expression operator separates two alternatives. + The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). + If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) +description: Execute /xyz|.../.exec("abc") and check results +---*/ __executed = /xyz|.../.exec("abc"); @@ -37,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /xyz|.../.exec("abc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T13.js b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T13.js index 5b3c05183..764603cac 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T13.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T13.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 | regular expression operator separates two alternatives. - * The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). - * If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) - * - * @path ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T13.js - * @description Execute /(.)..|abc/.exec("abc") and check results - */ +/*--- +info: > + The | regular expression operator separates two alternatives. + The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). + If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) +description: Execute /(.)..|abc/.exec("abc") and check results +---*/ __executed = /(.)..|abc/.exec("abc"); @@ -37,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(.)..|abc/.exec("abc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T14.js b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T14.js index ea2cd7cd6..97e5872fa 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T14.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T14.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 | regular expression operator separates two alternatives. - * The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). - * If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) - * - * @path ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T14.js - * @description Execute /.+: gr(a|e)y/.exec("color: grey") and check results - */ +/*--- +info: > + The | regular expression operator separates two alternatives. + The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). + If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) +description: "Execute /.+: gr(a|e)y/.exec(\"color: grey\") and check results" +---*/ __executed = /.+: gr(a|e)y/.exec("color: grey"); @@ -37,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /.+: gr(a|e)y/.exec("color: grey"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T15.js b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T15.js index a0e4b8516..d8175aa0e 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T15.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T15.js @@ -1,14 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The | regular expression operator separates two alternatives. - * The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). - * If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) - * - * @path ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T15.js - * @description Execute /(Rob)|(Bob)|(Robert)|(Bobby)/.exec("Hi Bob") and check results - */ +/*--- +info: > + The | regular expression operator separates two alternatives. + The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). + If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) +description: > + Execute /(Rob)|(Bob)|(Robert)|(Bobby)/.exec("Hi Bob") and check + results +---*/ __executed = /(Rob)|(Bob)|(Robert)|(Bobby)/.exec("Hi Bob"); @@ -37,5 +38,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(Rob)|(Bob)|(Robert)|(Bobby)/.exec("Hi Bob"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T16.js b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T16.js index 0f4cef5f0..e09cd16e0 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T16.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T16.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 | regular expression operator separates two alternatives. - * The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). - * If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) - * - * @path ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T16.js - * @description Execute /()|/.exec("") and check results - */ +/*--- +info: > + The | regular expression operator separates two alternatives. + The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). + If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) +description: Execute /()|/.exec("") and check results +---*/ __executed = /()|/.exec(""); @@ -37,5 +36,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.3/S15.10.2.3_A1_T17.js b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T17.js index bf6313a96..4814ed0b3 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T17.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T17.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 | regular expression operator separates two alternatives. - * The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). - * If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) - * - * @path ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T17.js - * @description Execute /|()/.exec("") and check results - */ +/*--- +info: > + The | regular expression operator separates two alternatives. + The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). + If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) +description: Execute /|()/.exec("") and check results +---*/ __executed = /|()/.exec(""); @@ -37,5 +36,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.3/S15.10.2.3_A1_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T2.js index b07cdbab5..71a785a81 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_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 | regular expression operator separates two alternatives. - * The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). - * If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) - * - * @path ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T2.js - * @description Execute /((a)|(ab))((c)|(bc))/.exec("abc") and check results - */ +/*--- +info: > + The | regular expression operator separates two alternatives. + The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). + If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) +description: Execute /((a)|(ab))((c)|(bc))/.exec("abc") and check results +---*/ __executed = /((a)|(ab))((c)|(bc))/.exec("abc"); @@ -37,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /((a)|(ab))((c)|(bc))/.exec("abc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T3.js index a534fd392..4eabb53ee 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T3.js @@ -1,14 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The | regular expression operator separates two alternatives. - * The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). - * If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) - * - * @path ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T3.js - * @description Execute /\d{3}|[a-z]{4}/.exec("2, 12 and of course repeat 12") and check results - */ +/*--- +info: > + The | regular expression operator separates two alternatives. + The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). + If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) +description: > + Execute /\d{3}|[a-z]{4}/.exec("2, 12 and of course repeat 12") and + check results +---*/ __executed = /\d{3}|[a-z]{4}/.exec("2, 12 and of course repeat 12"); @@ -37,5 +38,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\d{3}|[a-z]{4}/.exec("2, 12 and of course repeat 12"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T4.js index 87579047d..7cdd50e4b 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T4.js @@ -1,14 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The | regular expression operator separates two alternatives. - * The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). - * If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) - * - * @path ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T4.js - * @description Execute /\d{3}|[a-z]{4}/.exec("2, 12 and 234 AND of course repeat 12") and check results - */ +/*--- +info: > + The | regular expression operator separates two alternatives. + The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). + If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) +description: > + Execute /\d{3}|[a-z]{4}/.exec("2, 12 and 234 AND of course repeat + 12") and check results +---*/ __executed = /\d{3}|[a-z]{4}/.exec("2, 12 and 234 AND of course repeat 12"); @@ -37,5 +38,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\d{3}|[a-z]{4}/.exec("2, 12 and 234 AND of course repeat 12"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T5.js b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T5.js index e9ffabc48..c4b51bfaf 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T5.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T5.js @@ -1,14 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The | regular expression operator separates two alternatives. - * The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). - * If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) - * - * @path ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T5.js - * @description Execute /\d{3}|[a-z]{4}/.test("2, 12 and 23 AND 0.00.1") and check results - */ +/*--- +info: > + The | regular expression operator separates two alternatives. + The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). + If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) +description: > + Execute /\d{3}|[a-z]{4}/.test("2, 12 and 23 AND 0.00.1") and check + results +---*/ __executed = /\d{3}|[a-z]{4}/.test("2, 12 and 23 AND 0.00.1"); @@ -16,5 +17,3 @@ __executed = /\d{3}|[a-z]{4}/.test("2, 12 and 23 AND 0.00.1"); if (__executed) { $ERROR('#1: /\\d{3}|[a-z]{4}/.test("2, 12 and 23 AND 0.00.1") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T6.js b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T6.js index d80ed9a97..d6c8b72c2 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T6.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_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 | regular expression operator separates two alternatives. - * The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). - * If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) - * - * @path ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T6.js - * @description Execute /ab|cd|ef/i.exec("AEKFCD") and check results - */ +/*--- +info: > + The | regular expression operator separates two alternatives. + The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). + If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) +description: Execute /ab|cd|ef/i.exec("AEKFCD") and check results +---*/ __executed = /ab|cd|ef/i.exec("AEKFCD"); @@ -37,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /ab|cd|ef/i.exec("AEKFCD"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T7.js b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T7.js index e35fe0c43..67fd0eae3 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T7.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T7.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 | regular expression operator separates two alternatives. - * The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). - * If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) - * - * @path ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T7.js - * @description Execute /ab|cd|ef/.test("AEKFCD") and check results - */ +/*--- +info: > + The | regular expression operator separates two alternatives. + The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). + If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) +description: Execute /ab|cd|ef/.test("AEKFCD") and check results +---*/ __executed = /ab|cd|ef/.test("AEKFCD"); @@ -16,5 +15,3 @@ __executed = /ab|cd|ef/.test("AEKFCD"); if (__executed) { $ERROR('#1: /ab|cd|ef/.test("AEKFCD") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T8.js b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T8.js index 5f6374720..7c317d64c 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T8.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T8.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 | regular expression operator separates two alternatives. - * The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). - * If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) - * - * @path ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T8.js - * @description Execute /(?:ab|cd)+|ef/i.exec("AEKFCD") and check results - */ +/*--- +info: > + The | regular expression operator separates two alternatives. + The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). + If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) +description: "Execute /(?:ab|cd)+|ef/i.exec(\"AEKFCD\") and check results" +---*/ __executed = /(?:ab|cd)+|ef/i.exec("AEKFCD"); @@ -37,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(?:ab|cd)+|ef/i.exec("AEKFCD"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T9.js b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T9.js index 4226e80b5..866b490e4 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T9.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T9.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 | regular expression operator separates two alternatives. - * The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). - * If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) - * - * @path ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T9.js - * @description Execute /(?:ab|cd)+|ef/i.exec("AEKFCDab") and check results - */ +/*--- +info: > + The | regular expression operator separates two alternatives. + The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). + If it fails, it tries to match the right Disjunction (followed by the sequel of the regular expression) +description: "Execute /(?:ab|cd)+|ef/i.exec(\"AEKFCDab\") and check results" +---*/ __executed = /(?:ab|cd)+|ef/i.exec("AEKFCDab"); @@ -37,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(?:ab|cd)+|ef/i.exec("AEKFCDab"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.5-3-1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.5-3-1.js index a044aa874..0ba6bb68a 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.5-3-1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.5-3-1.js @@ -1,21 +1,23 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.10/15.10.2/15.10.2.5-3-1.js
- * @description Term - SyntaxError was thrown when max is finite and less than min (15.10.2.5 step 3)
- */
-
-
-function testcase() {
- try {
- var regExp = new RegExp("0{2,1}");
-
- return false;
- } catch (e) {
- return e instanceof SyntaxError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Term - SyntaxError was thrown when max is finite and less than min + (15.10.2.5 step 3) +includes: [runTestCase.js] +---*/ + +function testcase() { + try { + var regExp = new RegExp("0{2,1}"); + + return false; + } catch (e) { + return e instanceof SyntaxError; + } + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_A1_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_A1_T1.js index d24918c11..100a64646 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_A1_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_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. -/** - * An Atom followed by a Quantifier is repeated the number of times specified by the Quantifier - * - * @path ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_A1_T1.js - * @description Execute /a[a-z]{2,4}/.exec("abcdefghi") and check results - */ +/*--- +info: > + An Atom followed by a Quantifier is repeated the number of times + specified by the Quantifier +description: Execute /a[a-z]{2,4}/.exec("abcdefghi") and check results +---*/ __executed = /a[a-z]{2,4}/.exec("abcdefghi"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /a[a-z]{2,4}/.exec("abcdefghi"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_A1_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_A1_T2.js index dae4cdb50..6430fec7b 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_A1_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_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. -/** - * An Atom followed by a Quantifier is repeated the number of times specified by the Quantifier - * - * @path ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_A1_T2.js - * @description Execute /a[a-z]{2,4}?/.exec("abcdefghi") and check results - */ +/*--- +info: > + An Atom followed by a Quantifier is repeated the number of times + specified by the Quantifier +description: Execute /a[a-z]{2,4}?/.exec("abcdefghi") and check results +---*/ __executed = /a[a-z]{2,4}?/.exec("abcdefghi"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /a[a-z]{2,4}?/.exec("abcdefghi"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_A1_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_A1_T3.js index 8a20e0dc5..137d5351a 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_A1_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_A1_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. -/** - * An Atom followed by a Quantifier is repeated the number of times specified by the Quantifier - * - * @path ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_A1_T3.js - * @description Execute /(aa|aabaac|ba|b|c)* /.exec("aabaac") and check results - */ +/*--- +info: > + An Atom followed by a Quantifier is repeated the number of times + specified by the Quantifier +description: Execute /(aa|aabaac|ba|b|c)* /.exec("aabaac") and check results +---*/ __executed = /(aa|aabaac|ba|b|c)*/.exec("aabaac"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(aa|aabaac|ba|b|c)*/.exec("aabaac"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_A1_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_A1_T4.js index 53587b712..1ab8cbb70 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_A1_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_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. -/** - * An Atom followed by a Quantifier is repeated the number of times specified by the Quantifier - * - * @path ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_A1_T4.js - * @description Execute /(z)((a+)?(b+)?(c))* /.exec("zaacbbbcac") and check results - */ +/*--- +info: > + An Atom followed by a Quantifier is repeated the number of times + specified by the Quantifier +description: Execute /(z)((a+)?(b+)?(c))* /.exec("zaacbbbcac") and check results +---*/ __executed = /(z)((a+)?(b+)?(c))*/.exec("zaacbbbcac"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(z)((a+)?(b+)?(c))*/.exec("zaacbbbcac"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_A1_T5.js b/test/suite/ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_A1_T5.js index ec2622b75..599dabbac 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_A1_T5.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_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. -/** - * An Atom followed by a Quantifier is repeated the number of times specified by the Quantifier - * - * @path ch15/15.10/15.10.2/15.10.2.5/S15.10.2.5_A1_T5.js - * @description Execute /(a*)b\1+/.exec("baaaac") and check results - */ +/*--- +info: > + An Atom followed by a Quantifier is repeated the number of times + specified by the Quantifier +description: Execute /(a*)b\1+/.exec("baaaac") and check results +---*/ __executed = /(a*)b\1+/.exec("baaaac"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(a*)b\\1+/.exec("baaaac"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A1_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A1_T1.js index a08a92547..6bc2cc571 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A1_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_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 Assertion :: $ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A1_T1.js - * @description Execute /s$/.test("pairs\nmakes\tdouble") and check results - */ +/*--- +info: > + The production Assertion :: $ evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: Execute /s$/.test("pairs\nmakes\tdouble") and check results +---*/ __executed = /s$/.test("pairs\nmakes\tdouble"); @@ -14,5 +14,3 @@ __executed = /s$/.test("pairs\nmakes\tdouble"); if (__executed) { $ERROR('#1: /s$/.test("pairs\\nmakes\\tdouble") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A1_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A1_T2.js index e45809bb7..40eed1188 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A1_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_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 Assertion :: $ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A1_T2.js - * @description Execute /e$/.exec("pairs\nmakes\tdouble") and check results - */ +/*--- +info: > + The production Assertion :: $ evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: Execute /e$/.exec("pairs\nmakes\tdouble") and check results +---*/ __executed = /e$/.exec("pairs\nmakes\tdouble"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /e$/.exec("pairs\\nmakes\\tdouble"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A1_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A1_T3.js index e5c73e365..f2d110bd4 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A1_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A1_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 Assertion :: $ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A1_T3.js - * @description Execute /s$/m.exec("pairs\nmakes\tdouble") and check results - */ +/*--- +info: > + The production Assertion :: $ evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: Execute /s$/m.exec("pairs\nmakes\tdouble") and check results +---*/ __executed = /s$/m.exec("pairs\nmakes\tdouble"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /s$/m.exec("pairs\\nmakes\\tdouble"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A1_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A1_T4.js index dedbb27c1..bb8f20113 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A1_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_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 Assertion :: $ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A1_T4.js - * @description Execute /[^e]$/mg.exec("pairs\nmakes\tdouble") and check results - */ +/*--- +info: > + The production Assertion :: $ evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: Execute /[^e]$/mg.exec("pairs\nmakes\tdouble") and check results +---*/ __executed = /[^e]$/mg.exec("pairs\nmakes\tdouble"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[^e]$/mg.exec("pairs\\nmakes\\tdouble"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A1_T5.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A1_T5.js index bf38830cd..5427dffce 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A1_T5.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A1_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 Assertion :: $ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A1_T5.js - * @description Execute /es$/mg.exec("pairs\nmakes\tdoubl\u0065s") and check results - */ +/*--- +info: > + The production Assertion :: $ evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: > + Execute /es$/mg.exec("pairs\nmakes\tdoubl\u0065s") and check + results +---*/ __executed = /es$/mg.exec("pairs\nmakes\tdoubl\u0065s"); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /es$/mg.exec("pairs\\nmakes\\tdoubl\\u0065s"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T1.js index 918559b1c..9bdab41fb 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_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 Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T1.js - * @description Execute /^m/.test("pairs\nmakes\tdouble") and check results - */ +/*--- +info: > + The production Assertion :: ^ evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: Execute /^m/.test("pairs\nmakes\tdouble") and check results +---*/ __executed = /^m/.test("pairs\nmakes\tdouble"); @@ -14,5 +14,3 @@ __executed = /^m/.test("pairs\nmakes\tdouble"); if (__executed) { $ERROR('#1: /^m/.test("pairs\\nmakes\\tdouble") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T10.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T10.js index 298258b4a..dd8371995 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T10.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_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 Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T10.js - * @description Execute /^\d+/m.exec("abc\n123xyz") and check results - */ +/*--- +info: > + The production Assertion :: ^ evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: Execute /^\d+/m.exec("abc\n123xyz") and check results +---*/ __executed = /^\d+/m.exec("abc\n123xyz"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /^\\d+/m.exec("abc\\n123xyz"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T2.js index 8fb843ec3..810cb74f4 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_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 Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T2.js - * @description Execute /^m/m.exec("pairs\nmakes\tdouble") and check results - */ +/*--- +info: > + The production Assertion :: ^ evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: Execute /^m/m.exec("pairs\nmakes\tdouble") and check results +---*/ __executed = /^m/m.exec("pairs\nmakes\tdouble"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /^m/m.exec("pairs\\nmakes\\tdouble"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T3.js index 144dd942a..399a87d2e 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_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 Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T3.js - * @description Execute /^p[a-z]/.exec("pairs\nmakes\tdouble\npesos") and check results - */ +/*--- +info: > + The production Assertion :: ^ evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: > + Execute /^p[a-z]/.exec("pairs\nmakes\tdouble\npesos") and check + results +---*/ __executed = /^p[a-z]/.exec("pairs\nmakes\tdouble\npesos"); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /^p[a-z]/.exec("pairs\\nmakes\\tdouble\\npesos"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T4.js index b1fd56e2a..968b481b4 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_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 Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T4.js - * @description Execute /^p[a-z]/m.exec("pairs\nmakes\tdouble\npesos") and check results - */ +/*--- +info: > + The production Assertion :: ^ evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: > + Execute /^p[a-z]/m.exec("pairs\nmakes\tdouble\npesos") and check + results +---*/ __executed = /^p[b-z]/m.exec("pairs\nmakes\tdouble\npesos"); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /^p[b-z]/m.exec("pairs\\nmakes\\tdouble\\npesos"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T5.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T5.js index 322a2dd54..1c6109c37 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T5.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_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 Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T5.js - * @description Execute /^[^p]/m.exec("pairs\nmakes\tdouble\npesos") and check results - */ +/*--- +info: > + The production Assertion :: ^ evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: > + Execute /^[^p]/m.exec("pairs\nmakes\tdouble\npesos") and check + results +---*/ __executed = /^[^p]/m.exec("pairs\nmakes\tdouble\npesos"); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /^[^p]/m.exec("pairs\\nmakes\\tdouble\\npesos"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T6.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T6.js index 4c702c9f2..63a1ce467 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T6.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_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 Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T6.js - * @description Execute /^ab/.exec("abcde") and check results - */ +/*--- +info: > + The production Assertion :: ^ evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: Execute /^ab/.exec("abcde") and check results +---*/ __executed = /^ab/.exec("abcde"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /^ab/.exec("abcde"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T7.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T7.js index aa76aaa6e..cc73a5c39 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T7.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_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 Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T7.js - * @description Execute /^..^e/.test("ab\ncde") and check results - */ +/*--- +info: > + The production Assertion :: ^ evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: Execute /^..^e/.test("ab\ncde") and check results +---*/ __executed = /^..^e/.test("ab\ncde"); @@ -14,5 +14,3 @@ __executed = /^..^e/.test("ab\ncde"); if (__executed) { $ERROR('#1: /^..^e/.test("ab\\ncde") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T8.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T8.js index 9017acdf6..7627becec 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T8.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_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 Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T8.js - * @description Execute /^xxx/.test("yyyyy") and check results - */ +/*--- +info: > + The production Assertion :: ^ evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: Execute /^xxx/.test("yyyyy") and check results +---*/ __executed = /^xxx/.test("yyyyy"); @@ -14,5 +14,3 @@ __executed = /^xxx/.test("yyyyy"); if (__executed) { $ERROR('#1: /^xxx/.test("yyyyy") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T9.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T9.js index f6d678ab9..bb889d710 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T9.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_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 Assertion :: ^ evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A2_T9.js - * @description Execute /^\^+/.exec("^^^x") and check results - */ +/*--- +info: > + The production Assertion :: ^ evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: Execute /^\^+/.exec("^^^x") and check results +---*/ __executed = /^\^+/.exec("^^^x"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /^\\^+/.exec("^^^x"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T1.js index 919287943..72511a0d5 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_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 Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T1.js - * @description Execute /\bp/.exec("pilot\nsoviet robot\topenoffice") and check results - */ +/*--- +info: > + The production Assertion :: \b evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: > + Execute /\bp/.exec("pilot\nsoviet robot\topenoffice") and check + results +---*/ __executed = /\bp/.exec("pilot\nsoviet robot\topenoffice"); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\bp/.exec("pilot\\nsoviet robot\\topenoffice"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T10.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T10.js index 9fd41c9cd..f9a3c7745 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T10.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T10.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 Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T10.js - * @description Execute /\brobot\b/.exec("pilot\nsoviet robot\topenoffice") and check results - */ +/*--- +info: > + The production Assertion :: \b evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: > + Execute /\brobot\b/.exec("pilot\nsoviet robot\topenoffice") and + check results +---*/ __executed = /\brobot\b/.exec("pilot\nsoviet robot\topenoffice"); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\brobot\\b/.exec("pilot\\nsoviet robot\\topenoffice"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T11.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T11.js index dac31e088..ad499ae74 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T11.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T11.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 Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T11.js - * @description Execute /\b\w{5}\b/.exec("pilot\nsoviet robot\topenoffice") and check results - */ +/*--- +info: > + The production Assertion :: \b evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: > + Execute /\b\w{5}\b/.exec("pilot\nsoviet robot\topenoffice") and + check results +---*/ __executed = /\b\w{5}\b/.exec("pilot\nsoviet robot\topenoffice"); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\b\\w{5}\\b/.exec("pilot\\nsoviet robot\\topenoffice"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T12.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T12.js index 5d37ef949..2fa5918d7 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T12.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T12.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 Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T12.js - * @description Execute /\bop/.exec("pilot\nsoviet robot\topenoffice") and check results - */ +/*--- +info: > + The production Assertion :: \b evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: > + Execute /\bop/.exec("pilot\nsoviet robot\topenoffice") and check + results +---*/ __executed = /\bop/.exec("pilot\nsoviet robot\topenoffice"); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\bop/.exec("pilot\\nsoviet robot\\topenoffice"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T13.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T13.js index 9efc67dbc..859301b73 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T13.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T13.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 Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T13.js - * @description Execute /op\b/.test("pilot\nsoviet robot\topenoffice") and check results - */ +/*--- +info: > + The production Assertion :: \b evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: > + Execute /op\b/.test("pilot\nsoviet robot\topenoffice") and check + results +---*/ __executed = /op\b/.test("pilot\nsoviet robot\topenoffice"); @@ -14,5 +16,3 @@ __executed = /op\b/.test("pilot\nsoviet robot\topenoffice"); if (__executed) { $ERROR('#1: /op\\b/.test("pilot\\nsoviet robot\\topenoffice") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T14.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T14.js index 78d5b00fd..34780421b 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T14.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T14.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 Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T14.js - * @description Execute /e\b/.exec("pilot\nsoviet robot\topenoffic\u0065") and check results - */ +/*--- +info: > + The production Assertion :: \b evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: > + Execute /e\b/.exec("pilot\nsoviet robot\topenoffic\u0065") and + check results +---*/ __executed = /e\b/.exec("pilot\nsoviet robot\topenoffic\u0065"); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /e\\b/.exec("pilot\\nsoviet robot\\topenoffic\\u0065"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T15.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T15.js index ffdbd71bc..d3f2cf115 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T15.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T15.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 Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T15.js - * @description Execute /\be/.test("pilot\nsoviet robot\topenoffic\u0065") and check results - */ +/*--- +info: > + The production Assertion :: \b evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: > + Execute /\be/.test("pilot\nsoviet robot\topenoffic\u0065") and + check results +---*/ __executed = /\be/.test("pilot\nsoviet robot\topenoffic\u0065"); @@ -14,5 +16,3 @@ __executed = /\be/.test("pilot\nsoviet robot\topenoffic\u0065"); if (__executed) { $ERROR('#1: /\\be/.test("pilot\\nsoviet robot\\topenoffic\\u0065") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T2.js index 9e823cf24..954b5fa20 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_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 Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T2.js - * @description Execute /ot\b/.exec("pilot\nsoviet robot\topenoffice") and check results - */ +/*--- +info: > + The production Assertion :: \b evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: > + Execute /ot\b/.exec("pilot\nsoviet robot\topenoffice") and check + results +---*/ __executed = /ot\b/.exec("pilot\nsoviet robot\topenoffice"); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /ot\\b/.exec("pilot\\nsoviet robot\\topenoffice"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T3.js index 97a2ba9d1..00199c4b8 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_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 Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T3.js - * @description Execute /\bot/.test("pilot\nsoviet robot\topenoffice") and check results - */ +/*--- +info: > + The production Assertion :: \b evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: > + Execute /\bot/.test("pilot\nsoviet robot\topenoffice") and check + results +---*/ __executed = /\bot/.test("pilot\nsoviet robot\topenoffice"); @@ -14,5 +16,3 @@ __executed = /\bot/.test("pilot\nsoviet robot\topenoffice"); if (__executed) { $ERROR('#1: /\\bot/.test("pilot\\nsoviet robot\\topenoffice") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T4.js index 7e45b6c68..194236a1d 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_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 Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T4.js - * @description Execute /\bso/.exec("pilot\nsoviet robot\topenoffice") and check results - */ +/*--- +info: > + The production Assertion :: \b evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: > + Execute /\bso/.exec("pilot\nsoviet robot\topenoffice") and check + results +---*/ __executed = /\bso/.exec("pilot\nsoviet robot\topenoffice"); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\bso/.exec("pilot\\nsoviet robot\\topenoffice"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T5.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T5.js index 3ec5ab4e0..09587c6f4 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T5.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_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 Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T5.js - * @description Execute /so\b/.test("pilot\nsoviet robot\topenoffice") and check results - */ +/*--- +info: > + The production Assertion :: \b evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: > + Execute /so\b/.test("pilot\nsoviet robot\topenoffice") and check + results +---*/ __executed = /so\b/.test("pilot\nsoviet robot\topenoffice"); @@ -14,5 +16,3 @@ __executed = /so\b/.test("pilot\nsoviet robot\topenoffice"); if (__executed) { $ERROR('#1: /so\\b/.test("pilot\\nsoviet robot\\topenoffice") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T6.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T6.js index e1e7ba3ab..ffc2c35bd 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T6.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_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 Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T6.js - * @description Execute /[^o]t\b/.exec("pilOt\nsoviet robot\topenoffice") and check results - */ +/*--- +info: > + The production Assertion :: \b evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: > + Execute /[^o]t\b/.exec("pilOt\nsoviet robot\topenoffice") and + check results +---*/ __executed = /[^o]t\b/.exec("pilOt\nsoviet robot\topenoffice"); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[^o]t\\b/.exec("pilOt\\nsoviet robot\\topenoffice"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T7.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T7.js index 4c6970b3f..5dd338391 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T7.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_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 Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T7.js - * @description Execute /[^o]t\b/i.exec("pilOt\nsoviet robot\topenoffice") and check results - */ +/*--- +info: > + The production Assertion :: \b evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: > + Execute /[^o]t\b/i.exec("pilOt\nsoviet robot\topenoffice") and + check results +---*/ __executed = /[^o]t\b/i.exec("pilOt\nsoviet robot\topenoffice"); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[^o]t\\b/i.exec("pilOt\\nsoviet robot\\topenoffice"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T8.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T8.js index 679157757..5cb018184 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T8.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_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 Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T8.js - * @description Execute /\bro/.exec("pilot\nsoviet robot\topenoffice") and check results - */ +/*--- +info: > + The production Assertion :: \b evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: > + Execute /\bro/.exec("pilot\nsoviet robot\topenoffice") and check + results +---*/ __executed = /\bro/.exec("pilot\nsoviet robot\topenoffice"); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\bro/.exec("pilot\\nsoviet robot\\topenoffice"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T9.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T9.js index 191a42487..27165c968 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T9.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_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 Assertion :: \b evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A3_T9.js - * @description Execute /r\b/.exec("pilot\nsoviet robot\topenoffice") and check results - */ +/*--- +info: > + The production Assertion :: \b evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: > + Execute /r\b/.exec("pilot\nsoviet robot\topenoffice") and check + results +---*/ __executed = /r\b/.test("pilot\nsoviet robot\topenoffice"); @@ -14,5 +16,3 @@ __executed = /r\b/.test("pilot\nsoviet robot\topenoffice"); if (__executed) { $ERROR('#1: /r\\b/.test("pilot\\nsoviet robot\\topenoffice") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T1.js index b1d4a2325..8ec3c366c 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_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 Assertion :: \B evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T1.js - * @description Execute /\Bevil\B/.exec("devils arise\tfor\nevil") and check results - */ +/*--- +info: > + The production Assertion :: \B evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: > + Execute /\Bevil\B/.exec("devils arise\tfor\nevil") and check + results +---*/ __executed = /\Bevil\B/.exec("devils arise\tfor\nevil"); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\Bevil\\B/.exec("devils arise\\tfor\\nevil"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T2.js index d28b7cac4..472976dd6 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_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 Assertion :: \B evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T2.js - * @description Execute /[f-z]e\B/.exec("devils arise\tfor\nevil") and check results - */ +/*--- +info: > + The production Assertion :: \B evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: > + Execute /[f-z]e\B/.exec("devils arise\tfor\nevil") and check + results +---*/ __executed = /[f-z]e\B/.exec("devils arise\tfor\nrevil"); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[f-z]e\\B/.exec("devils arise\\tfor\\nrevil"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T3.js index 3bb63efe4..24e7bda7c 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_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 Assertion :: \B evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T3.js - * @description Execute /\Bo\B/.exec("devils arise\tfor\nevil") and check results - */ +/*--- +info: > + The production Assertion :: \B evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: Execute /\Bo\B/.exec("devils arise\tfor\nevil") and check results +---*/ __executed = /\Bo\B/i.exec("devils arise\tfOr\nrevil"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\Bo\\B/i.exec("devils arise\\tfOr\\nrevil"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T4.js index 60965fe6c..6dd4995a2 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_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 Assertion :: \B evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T4.js - * @description Execute /\B\w\B/.exec("devils arise\tfor\nevil") and check results - */ +/*--- +info: > + The production Assertion :: \B evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: Execute /\B\w\B/.exec("devils arise\tfor\nevil") and check results +---*/ __executed = /\B\w\B/.exec("devils arise\tfor\nrevil"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\B\\w\\B/.exec("devils arise\\tfor\\nrevil"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T5.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T5.js index 1e0863c4c..00d8ae25c 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T5.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_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 Assertion :: \B evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T5.js - * @description Execute /\w\B/.exec("devils arise\tfor\nevil") and check results - */ +/*--- +info: > + The production Assertion :: \B evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: Execute /\w\B/.exec("devils arise\tfor\nevil") and check results +---*/ __executed = /\w\B/.exec("devils arise\tfor\nrevil"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\w\\B/.exec("devils arise\\tfor\\nrevil"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T6.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T6.js index c6a63358a..5645d8033 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T6.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_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 Assertion :: \B evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T6.js - * @description Execute /\B\w/.exec("devils arise\tfor\nevil") and check results - */ +/*--- +info: > + The production Assertion :: \B evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: Execute /\B\w/.exec("devils arise\tfor\nevil") and check results +---*/ __executed = /\B\w/.exec("devils arise\tfor\nrevil"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\B\\w/.exec("devils arise\\tfor\\nrevil"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T7.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T7.js index b60057fbe..3e5d36761 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T7.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_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 Assertion :: \B evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T7.js - * @description Execute /\B\[^z]{4}\B/.test("devil arise\tforzzx\nevils") and check results - */ +/*--- +info: > + The production Assertion :: \B evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: > + Execute /\B\[^z]{4}\B/.test("devil arise\tforzzx\nevils") and + check results +---*/ __executed = /\B\[^z]{4}\B/.test("devil arise\tforzzx\nevils"); @@ -14,5 +16,3 @@ __executed = /\B\[^z]{4}\B/.test("devil arise\tforzzx\nevils"); if (__executed) { $ERROR('#1: /\\B\\[^z]{4}\\B/.test("devil arise\\tforzzx\\nevils") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T8.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T8.js index c19aad65b..a3e4d9741 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T8.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_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 Assertion :: \B evaluates by returning an internal AssertionTester closure that takes a State argument x and performs the ... - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A4_T8.js - * @description Execute /\B\w{4}\B/.exec("devil arise\tforzzx\nevils") and check results - */ +/*--- +info: > + The production Assertion :: \B evaluates by returning an internal + AssertionTester closure that takes a State argument x and performs the ... +description: > + Execute /\B\w{4}\B/.exec("devil arise\tforzzx\nevils") and check + results +---*/ __executed = /\B\w{4}\B/.exec("devil arise\tforzzx\nevils"); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\B\\w{4}\\B/.exec("devil arise\\tforzzx\\nevils"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A5_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A5_T1.js index f8fb83ed3..5090e8290 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A5_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A5_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. -/** - * Since assertion evaluating do not change endIndex repetition of assertion does the same result - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A5_T1.js - * @description Execute /^^^^^^^robot$$$$/.exec("robot") and check results - */ +/*--- +info: > + Since assertion evaluating do not change endIndex repetition of assertion + does the same result +description: Execute /^^^^^^^robot$$$$/.exec("robot") and check results +---*/ __executed = /^^^^^^^robot$$$$/.exec("robot"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /^^^^^^^robot$$$$/.exec("robot"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A5_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A5_T2.js index e63b1666f..adf34643b 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A5_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_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. -/** - * Since assertion evaluating do not change endIndex repetition of assertion does the same result - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A5_T2.js - * @description Execute /\B\B\B\B\B\Bbot\b\b\b\b\b\b\b/.exec("robot wall-e") and check results - */ +/*--- +info: > + Since assertion evaluating do not change endIndex repetition of assertion + does the same result +description: > + Execute /\B\B\B\B\B\Bbot\b\b\b\b\b\b\b/.exec("robot wall-e") and + check results +---*/ __executed = /\B\B\B\B\B\Bbot\b\b\b\b\b\b\b/.exec("robot wall-e"); @@ -35,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\B\\B\\B\\B\\B\\Bbot\\b\\b\\b\\b\\b\\b\\b/.exec("robot wall-e"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A6_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A6_T1.js index 688884379..0ac0db86b 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A6_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A6_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. -/** - * Assertions in combination - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A6_T1.js - * @description while asterix is non greedy it is run till the end because of dollar assertion - */ +/*--- +info: Assertions in combination +description: > + while asterix is non greedy it is run till the end because of + dollar assertion +---*/ __executed = /^.*?$/.exec("Hello World"); @@ -35,5 +35,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /^.*?$/.exec("Hello World"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A6_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A6_T2.js index a1e4818c9..80836b6bf 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A6_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A6_T2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Assertions in combination - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A6_T2.js - * @description Execute /^.*?/.exec("Hello World") and check results - */ +/*--- +info: Assertions in combination +description: Execute /^.*?/.exec("Hello World") and check results +---*/ __executed = /^.*?/.exec("Hello World"); @@ -35,5 +33,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /^.*?/.exec("Hello World"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A6_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A6_T3.js index 8a1f3ad38..7aadca89c 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A6_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A6_T3.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Assertions in combination - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A6_T3.js - * @description while asterix is non greedy it is run till matches end or colon - */ +/*--- +info: Assertions in combination +description: while asterix is non greedy it is run till matches end or colon +---*/ __executed = /^.*?(:|$)/.exec("Hello: World"); @@ -35,5 +33,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /^.*?(:|$)/.exec("Hello: World"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A6_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A6_T4.js index 08cd42f78..73c0fcdb6 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A6_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A6_T4.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Assertions in combination - * - * @path ch15/15.10/15.10.2/15.10.2.6/S15.10.2.6_A6_T4.js - * @description Execute /^.*(:|$)/.exec("Hello: World") and check results - */ +/*--- +info: Assertions in combination +description: "Execute /^.*(:|$)/.exec(\"Hello: World\") and check results" +---*/ __executed = /^.*(:|$)/.exec("Hello: World"); @@ -35,5 +33,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /^.*(:|$)/.exec("Hello: World"); __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_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]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_T1.js index 8765743ce..19fe55c47 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_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 form (?= Disjunction ) specifies a zero-width positive lookahead. - * In order for it to succeed, the pattern inside Disjunction must match at the current position, but the current position is not advanced before matching the sequel. - * If Disjunction can match at the current position in several ways, only the first one is tried - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_T1.js - * @description Execute /(?=(a+))/.exec("baaabac") and check results - */ +/*--- +info: > + The form (?= Disjunction ) specifies a zero-width positive lookahead. + In order for it to succeed, the pattern inside Disjunction must match at the current position, but the current position is not advanced before matching the sequel. + If Disjunction can match at the current position in several ways, only the first one is tried +description: Execute /(?=(a+))/.exec("baaabac") and check results +---*/ __executed = /(?=(a+))/.exec("baaabac"); @@ -37,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(?=(a+))/.exec("baaabac"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_T2.js index f38bd2273..15da61ed9 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_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 form (?= Disjunction ) specifies a zero-width positive lookahead. - * In order for it to succeed, the pattern inside Disjunction must match at the current position, but the current position is not advanced before matching the sequel. - * If Disjunction can match at the current position in several ways, only the first one is tried - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_T2.js - * @description Execute /(?=(a+))a*b\1/.exec("baaabac") and check results - */ +/*--- +info: > + The form (?= Disjunction ) specifies a zero-width positive lookahead. + In order for it to succeed, the pattern inside Disjunction must match at the current position, but the current position is not advanced before matching the sequel. + If Disjunction can match at the current position in several ways, only the first one is tried +description: Execute /(?=(a+))a*b\1/.exec("baaabac") and check results +---*/ __executed = /(?=(a+))a*b\1/.exec("baaabac"); @@ -37,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(?=(a+))a*b\\1/.exec("baaabac"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_T3.js index d37910429..84ada056a 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_T3.js @@ -1,14 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The form (?= Disjunction ) specifies a zero-width positive lookahead. - * In order for it to succeed, the pattern inside Disjunction must match at the current position, but the current position is not advanced before matching the sequel. - * If Disjunction can match at the current position in several ways, only the first one is tried - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_T3.js - * @description Execute /[Jj]ava([Ss]cript)?(?=\:)/.exec("just Javascript: the way af jedi") and check results - */ +/*--- +info: > + The form (?= Disjunction ) specifies a zero-width positive lookahead. + In order for it to succeed, the pattern inside Disjunction must match at the current position, but the current position is not advanced before matching the sequel. + If Disjunction can match at the current position in several ways, only the first one is tried +description: > + Execute /[Jj]ava([Ss]cript)?(?=\:)/.exec("just Javascript: the way + af jedi") and check results +---*/ __executed = /[Jj]ava([Ss]cript)?(?=\:)/.exec("just Javascript: the way af jedi"); @@ -37,5 +38,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[Jj]ava([Ss]cript)?(?=\\:)/.exec("just Javascript: the way af jedi"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_T4.js index 76f486db6..2339d6cd8 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_T4.js @@ -1,14 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The form (?= Disjunction ) specifies a zero-width positive lookahead. - * In order for it to succeed, the pattern inside Disjunction must match at the current position, but the current position is not advanced before matching the sequel. - * If Disjunction can match at the current position in several ways, only the first one is tried - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_T4.js - * @description Execute /[Jj]ava([Ss]cript)?(?=\:)/.exec("taste of java: the cookbook ") and check results - */ +/*--- +info: > + The form (?= Disjunction ) specifies a zero-width positive lookahead. + In order for it to succeed, the pattern inside Disjunction must match at the current position, but the current position is not advanced before matching the sequel. + If Disjunction can match at the current position in several ways, only the first one is tried +description: > + Execute /[Jj]ava([Ss]cript)?(?=\:)/.exec("taste of java: the + cookbook ") and check results +---*/ __executed = /[Jj]ava([Ss]cript)?(?=\:)/.exec("taste of java: the cookbook "); @@ -37,5 +38,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /[Jj]ava([Ss]cript)?(?=\\:)/.exec("taste of java: the cookbook "); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_T5.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_T5.js index b4608e6e0..005233922 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_T5.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_T5.js @@ -1,14 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The form (?= Disjunction ) specifies a zero-width positive lookahead. - * In order for it to succeed, the pattern inside Disjunction must match at the current position, but the current position is not advanced before matching the sequel. - * If Disjunction can match at the current position in several ways, only the first one is tried - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A1_T5.js - * @description Execute /[Jj]ava([Ss]cript)?(?=\:)/.test("rhino is JavaScript engine") and check results - */ +/*--- +info: > + The form (?= Disjunction ) specifies a zero-width positive lookahead. + In order for it to succeed, the pattern inside Disjunction must match at the current position, but the current position is not advanced before matching the sequel. + If Disjunction can match at the current position in several ways, only the first one is tried +description: > + Execute /[Jj]ava([Ss]cript)?(?=\:)/.test("rhino is JavaScript + engine") and check results +---*/ __executed = /[Jj]ava([Ss]cript)?(?=\:)/.test("rhino is JavaScript engine"); @@ -16,5 +17,3 @@ __executed = /[Jj]ava([Ss]cript)?(?=\:)/.test("rhino is JavaScript engine"); if (__executed) { $ERROR('#1: /[Jj]ava([Ss]cript)?(?=\\:)/.test("rhino is JavaScript engine") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T1.js index a080c0933..fc69bc0fb 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T1.js @@ -1,14 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The form (?! Disjunction ) specifies a zero-width negative lookahead. - * In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. - * The current position is not advanced before matching the sequel - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T1.js - * @description Execute /(.*?)a(?!(a+)b\2c)\2(.*)/.exec("baaabaac") and check results - */ +/*--- +info: > + The form (?! Disjunction ) specifies a zero-width negative lookahead. + In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. + The current position is not advanced before matching the sequel +description: > + Execute /(.*?)a(?!(a+)b\2c)\2(.*)/.exec("baaabaac") and check + results +---*/ __executed = /(.*?)a(?!(a+)b\2c)\2(.*)/.exec("baaabaac"); @@ -37,5 +38,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(.*?)a(?!(a+)b\\2c)\\2(.*)/.exec("baaabaac"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T10.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T10.js index 0929bb895..7fb5b54b4 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T10.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T10.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 form (?! Disjunction ) specifies a zero-width negative lookahead. - * In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. - * The current position is not advanced before matching the sequel - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T10.js - * @description Execute /(?!a|b)|c/.exec("bc") and check results - */ +/*--- +info: > + The form (?! Disjunction ) specifies a zero-width negative lookahead. + In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. + The current position is not advanced before matching the sequel +description: Execute /(?!a|b)|c/.exec("bc") and check results +---*/ __executed = /(?!a|b)|c/.exec("bc"); @@ -37,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(?!a|b)|c/.exec("bc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T11.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T11.js index 636355d9a..f42810d89 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T11.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T11.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 form (?! Disjunction ) specifies a zero-width negative lookahead. - * In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. - * The current position is not advanced before matching the sequel - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T11.js - * @description Execute /(?!a|b)|c/.exec("d") and check results - */ +/*--- +info: > + The form (?! Disjunction ) specifies a zero-width negative lookahead. + In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. + The current position is not advanced before matching the sequel +description: Execute /(?!a|b)|c/.exec("d") and check results +---*/ __executed = /(?!a|b)|c/.exec("d"); @@ -37,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(?!a|b)|c/.exec("d"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T2.js index 887d7a999..55a9d6c89 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T2.js @@ -1,14 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The form (?! Disjunction ) specifies a zero-width negative lookahead. - * In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. - * The current position is not advanced before matching the sequel - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T2.js - * @description Execute /Java(?!Script)([A-Z]\w*)/.exec("using of JavaBeans technology") and check results - */ +/*--- +info: > + The form (?! Disjunction ) specifies a zero-width negative lookahead. + In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. + The current position is not advanced before matching the sequel +description: > + Execute /Java(?!Script)([A-Z]\w*)/.exec("using of JavaBeans + technology") and check results +---*/ __executed = /Java(?!Script)([A-Z]\w*)/.exec("using of JavaBeans technology"); @@ -37,5 +38,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /Java(?!Script)([A-Z]\\w*)/.exec("using of JavaBeans technology"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T3.js index 9e0624e31..1e3965544 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T3.js @@ -1,14 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The form (?! Disjunction ) specifies a zero-width negative lookahead. - * In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. - * The current position is not advanced before matching the sequel - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T3.js - * @description Execute /Java(?!Script)([A-Z]\w*)/.test("using of Java language") and check results - */ +/*--- +info: > + The form (?! Disjunction ) specifies a zero-width negative lookahead. + In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. + The current position is not advanced before matching the sequel +description: > + Execute /Java(?!Script)([A-Z]\w*)/.test("using of Java language") + and check results +---*/ __executed = /Java(?!Script)([A-Z]\w*)/.test("using of Java language"); @@ -16,5 +17,3 @@ __executed = /Java(?!Script)([A-Z]\w*)/.test("using of Java language"); if (__executed) { $ERROR('#1: /Java(?!Script)([A-Z]\\w*)/.test("using of Java language") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T4.js index 317169ec9..925de69fd 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T4.js @@ -1,14 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The form (?! Disjunction ) specifies a zero-width negative lookahead. - * In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. - * The current position is not advanced before matching the sequel - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T4.js - * @description Execute /Java(?!Script)([A-Z]\w*)/.test("i'm a JavaScripter ") and check results - */ +/*--- +info: > + The form (?! Disjunction ) specifies a zero-width negative lookahead. + In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. + The current position is not advanced before matching the sequel +description: > + Execute /Java(?!Script)([A-Z]\w*)/.test("i'm a JavaScripter ") and + check results +---*/ __executed = /Java(?!Script)([A-Z]\w*)/.test("i'm a JavaScripter "); @@ -16,5 +17,3 @@ __executed = /Java(?!Script)([A-Z]\w*)/.test("i'm a JavaScripter "); if (__executed) { $ERROR('#1: /Java(?!Script)([A-Z]\\w*)/.test("i\'m a JavaScripter ") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T5.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T5.js index 39b842b00..c00b9348e 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T5.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T5.js @@ -1,14 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The form (?! Disjunction ) specifies a zero-width negative lookahead. - * In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. - * The current position is not advanced before matching the sequel - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T5.js - * @description Execute /Java(?!Script)([A-Z]\w*)/.exec("JavaScr oops ipt ") and check results - */ +/*--- +info: > + The form (?! Disjunction ) specifies a zero-width negative lookahead. + In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. + The current position is not advanced before matching the sequel +description: > + Execute /Java(?!Script)([A-Z]\w*)/.exec("JavaScr oops ipt ") and + check results +---*/ __executed = /Java(?!Script)([A-Z]\w*)/.exec("JavaScr oops ipt "); @@ -37,5 +38,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /Java(?!Script)([A-Z]\\w*)/.exec("JavaScr oops ipt "); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T6.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T6.js index ab3efd17d..a5c269028 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T6.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_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 form (?! Disjunction ) specifies a zero-width negative lookahead. - * In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. - * The current position is not advanced before matching the sequel - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T6.js - * @description Execute /(\.(?!com|org)|\/)/.exec("ah.info") and check results - */ +/*--- +info: > + The form (?! Disjunction ) specifies a zero-width negative lookahead. + In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. + The current position is not advanced before matching the sequel +description: Execute /(\.(?!com|org)|\/)/.exec("ah.info") and check results +---*/ __executed = /(\.(?!com|org)|\/)/.exec("ah.info"); @@ -37,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(\\.(?!com|org)|\\/)/.exec("ah.info"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T7.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T7.js index 0e2766238..f1e439dca 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T7.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T7.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 form (?! Disjunction ) specifies a zero-width negative lookahead. - * In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. - * The current position is not advanced before matching the sequel - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T7.js - * @description Execute /(\.(?!com|org)|\/)/.exec("ah/info") and check results - */ +/*--- +info: > + The form (?! Disjunction ) specifies a zero-width negative lookahead. + In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. + The current position is not advanced before matching the sequel +description: Execute /(\.(?!com|org)|\/)/.exec("ah/info") and check results +---*/ __executed = /(\.(?!com|org)|\/)/.exec("ah/info"); @@ -37,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(\\.(?!com|org)|\\/)/.exec("ah/info"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T8.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T8.js index 317da7d47..e315b6eef 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T8.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T8.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 form (?! Disjunction ) specifies a zero-width negative lookahead. - * In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. - * The current position is not advanced before matching the sequel - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T8.js - * @description Execute /(\.(?!com|org)|\/)/.test("ah.com") and check results - */ +/*--- +info: > + The form (?! Disjunction ) specifies a zero-width negative lookahead. + In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. + The current position is not advanced before matching the sequel +description: Execute /(\.(?!com|org)|\/)/.test("ah.com") and check results +---*/ __executed = /(\.(?!com|org)|\/)/.test("ah.com"); @@ -16,5 +15,3 @@ __executed = /(\.(?!com|org)|\/)/.test("ah.com"); if (__executed) { $ERROR('#1: /(\\.(?!com|org)|\\/)/.test("ah.com") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T9.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T9.js index 008d4ccbe..1d0e300b1 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T9.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T9.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 form (?! Disjunction ) specifies a zero-width negative lookahead. - * In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. - * The current position is not advanced before matching the sequel - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A2_T9.js - * @description Execute /(?!a|b)|c/.exec("") and check results - */ +/*--- +info: > + The form (?! Disjunction ) specifies a zero-width negative lookahead. + In order for it to succeed, the pattern inside Disjunction must fail to match at the current position. + The current position is not advanced before matching the sequel +description: Execute /(?!a|b)|c/.exec("") and check results +---*/ __executed = /(?!a|b)|c/.exec(""); @@ -37,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(?!a|b)|c/.exec(""); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T1.js index 9e6e4edd2..ca780da87 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T1.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T1.js - * @description Execute /([Jj]ava([Ss]cript)?)\sis\s(fun\w*)/.exec("Learning javaScript is funny, really") and check results - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: > + Execute /([Jj]ava([Ss]cript)?)\sis\s(fun\w*)/.exec("Learning + javaScript is funny, really") and check results +---*/ __executed = /([Jj]ava([Ss]cript)?)\sis\s(fun\w*)/.exec("Learning javaScript is funny, really"); @@ -38,5 +39,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /([Jj]ava([Ss]cript)?)\\sis\\s(fun\\w*)/.exec("Learning javaScript is funny, really"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T10.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T10.js index b09dcdd4a..6b1a6f9c3 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T10.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T10.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T10.js - * @description Execute /(\d{3})(\d{3})\1\2/.exec("123456123456") and check results - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: Execute /(\d{3})(\d{3})\1\2/.exec("123456123456") and check results +---*/ __executed = /(\d{3})(\d{3})\1\2/.exec("123456123456"); @@ -38,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(\\d{3})(\\d{3})\\1\\2/.exec("123456123456"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T11.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T11.js index 7aa61c013..0fb56023c 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T11.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T11.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T11.js - * @description Execute /a(..(..)..)/.exec("abcdefgh") and check results - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: Execute /a(..(..)..)/.exec("abcdefgh") and check results +---*/ __executed = /a(..(..)..)/.exec("abcdefgh"); @@ -38,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /a(..(..)..)/.exec("abcdefgh"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T12.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T12.js index cf8b9fc1c..4ed17dbfe 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T12.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T12.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T12.js - * @description Execute /(a(b(c)))(d(e(f)))/.exec("xabcdefg") and check results - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: Execute /(a(b(c)))(d(e(f)))/.exec("xabcdefg") and check results +---*/ __executed = /(a(b(c)))(d(e(f)))/.exec("xabcdefg"); @@ -38,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(a(b(c)))(d(e(f)))/.exec("xabcdefg"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T13.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T13.js index a2ab53fbe..69ed05d81 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T13.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T13.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T13.js - * @description Execute /(a(b(c)))(d(e(f)))\2\5/.exec("xabcdefbcefg") and check results - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: > + Execute /(a(b(c)))(d(e(f)))\2\5/.exec("xabcdefbcefg") and check + results +---*/ __executed = /(a(b(c)))(d(e(f)))\2\5/.exec("xabcdefbcefg"); @@ -38,5 +39,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(a(b(c)))(d(e(f)))\\2\\5/.exec("xabcdefbcefg"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T14.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T14.js index d6d74fa6f..092da15d9 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T14.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T14.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T14.js - * @description Execute /a(.?)b\1c\1d\1/.exec("abcd") and check results - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: Execute /a(.?)b\1c\1d\1/.exec("abcd") and check results +---*/ __executed = /a(.?)b\1c\1d\1/.exec("abcd"); @@ -38,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /a(.?)b\\1c\\1d\\1/.exec("abcd"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T15.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T15.js index 93c454287..7e8bd205d 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T15.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T15.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T15.js - * @description see bug http:bugzilla.mozilla.org/show_bug.cgi?id=119909 - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: "see bug http:bugzilla.mozilla.org/show_bug.cgi?id=119909" +---*/ __strOriginal = "hello"; __openParen = '('; @@ -56,5 +55,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __re = new RegExp(__pattern); __executed = __re.exec(__strOriginal); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T16.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T16.js index 750b6d151..77afefc51 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T16.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T16.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T16.js - * @description see bug http:bugzilla.mozilla.org/show_bug.cgi?id=119909 - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: "see bug http:bugzilla.mozilla.org/show_bug.cgi?id=119909" +---*/ __strOriginal = "hello"; __openParen = '(?:'; @@ -54,5 +53,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __re = new RegExp(__pattern); __executed = __re.exec(__strOriginal); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T17.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T17.js index be4430121..8b64a41f4 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T17.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T17.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T17.js - * @description see bug http:bugzilla.mozilla.org/show_bug.cgi?id=169497 - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: "see bug http:bugzilla.mozilla.org/show_bug.cgi?id=169497" +---*/ __body=""; __body += '<body onXXX="alert(event.type);">\n'; @@ -49,5 +48,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /<body.*>((.*\\n?)*?)<\\/body>/i.exec(__html); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T18.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T18.js index 976bf0b86..9e658035a 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T18.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T18.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T18.js - * @description see bug http:bugzilla.mozilla.org/show_bug.cgi?id=169534 - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: "see bug http:bugzilla.mozilla.org/show_bug.cgi?id=169534" +---*/ __replaced = "To sign up click |here|https:www.xxxx.org/subscribe.htm|".replace(/(\|)([\w\x81-\xff ]*)(\|)([\/a-z][\w:\/\.]*\.[a-z]{3,4})(\|)/ig, '<a href="$4">$2</a>'); @@ -19,5 +18,3 @@ __expected = 'To sign up click <a href="https:www.xxxx.org/subscribe.htm">here</ if (__replaced !== __expected) { $ERROR('#1: __replaced = "To sign up click |here|https:www.xxxx.org/subscribe.htm|".replace(/(\\|)([\\w\\x81-\\xff ]*)(\\|)([\\/a-z][\\w:\\/\\.]*\\.[a-z]{3,4})(\\|)/ig, \'<a href="$4">$2</a>\'); __replaced === ' + __expected + '. Actual: ' + __replaced); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T19.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T19.js index 99502fcd3..1d8077f00 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T19.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T19.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T19.js - * @description Execute /([\S]+([ \t]+[\S]+)*)[ \t]*=[ \t]*[\S]+/.exec("Course_Creator = Test") and check results - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: > + Execute /([\S]+([ \t]+[\S]+)*)[ \t]*=[ + \t]*[\S]+/.exec("Course_Creator = Test") and check results +---*/ __executed = /([\S]+([ \t]+[\S]+)*)[ \t]*=[ \t]*[\S]+/.exec("Course_Creator = Test"); @@ -38,5 +39,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /([\\S]+([ \\t]+[\\S]+)*)[ \\t]*=[ \\t]*[\\S]+/.exec("Course_Creator = Test"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T2.js index 9583bbe34..9b175307d 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T2.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T2.js - * @description Execute /([Jj]ava([Ss]cript)?)\sis\s(fun\w*)/.exec("Developing with Java is fun, try it") and check results - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: > + Execute /([Jj]ava([Ss]cript)?)\sis\s(fun\w*)/.exec("Developing + with Java is fun, try it") and check results +---*/ __executed = /([Jj]ava([Ss]cript)?)\sis\s(fun\w*)/.exec("Developing with Java is fun, try it"); @@ -38,5 +39,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /([Jj]ava([Ss]cript)?)\\sis\\s(fun\\w*)/.exec("Developing with Java is fun, try it"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T20.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T20.js index 3a64abf76..5c64e795d 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T20.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T20.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T20.js - * @description Execute /^(A)?(A.*)$/.exec("AAA") and check results - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: Execute /^(A)?(A.*)$/.exec("AAA") and check results +---*/ __executed = /^(A)?(A.*)$/.exec("AAA"); @@ -38,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /^(A)?(A.*)$/.exec("AAA"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T21.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T21.js index 08de79e15..2a3b783c7 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T21.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T21.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T21.js - * @description Execute /^(A)?(A.*)$/.exec("AA") and check results - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: Execute /^(A)?(A.*)$/.exec("AA") and check results +---*/ __executed = /^(A)?(A.*)$/.exec("AA"); @@ -38,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /^(A)?(A.*)$/.exec("AA"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T22.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T22.js index 2bfc065c0..bdb8fb431 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T22.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T22.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T22.js - * @description Execute /^(A)?(A.*)$/.exec("A") and check results - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: Execute /^(A)?(A.*)$/.exec("A") and check results +---*/ __executed = /^(A)?(A.*)$/.exec("A"); @@ -38,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /^(A)?(A.*)$/.exec("A"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T23.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T23.js index bb8144f69..dd9875abd 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T23.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T23.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T23.js - * @description Execute /(A)?(A.*)/.exec("zxcasd;fl\\\ ^AAAaaAAaaaf;lrlrzs") and check results - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: > + Execute /(A)?(A.*)/.exec("zxcasd;fl\\\ ^AAAaaAAaaaf;lrlrzs") and + check results +---*/ __string = "zxcasd;fl\\\ ^AAAaaAAaaaf;lrlrzs"; @@ -40,5 +41,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __string = "zxcasd;fl\\\ ^AAAaaAAaaaf;lrlrzs"; __executed = /(A)?(A.*)/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T24.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T24.js index 62ff1f2a2..53e9d7e08 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T24.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T24.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T24.js - * @description Execute /(A)?(A.*)/.exec("zxcasd;fl\\\ ^AAaaAAaaaf;lrlrzs") and check results - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: > + Execute /(A)?(A.*)/.exec("zxcasd;fl\\\ ^AAaaAAaaaf;lrlrzs") and + check results +---*/ __string = "zxcasd;fl\\\ ^AAaaAAaaaf;lrlrzs"; @@ -40,5 +41,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __string = "zxcasd;fl\\\ ^AAaaAAaaaf;lrlrzs"; __executed = /(A)?(A.*)/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T25.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T25.js index f8883bc51..053a76c12 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T25.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T25.js @@ -1,15 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T25.js - * @description Execute /(A)?(A.*)/.exec("zxcasd;fl\\\ ^AaaAAaaaf;lrlrzs") and check results - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: > + Execute /(A)?(A.*)/.exec("zxcasd;fl\\\ ^AaaAAaaaf;lrlrzs") and + check results +---*/ __string = "zxcasd;fl\\\ ^AaaAAaaaf;lrlrzs"; @@ -40,5 +41,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __string = "zxcasd;fl\\\ ^AaaAAaaaf;lrlrzs"; __executed = /(A)?(A.*)/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T26.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T26.js index 9f0953534..a1c0f0e4a 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T26.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T26.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T26.js - * @description Execute /(a)?a/.exec("a") and check results - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: Execute /(a)?a/.exec("a") and check results +---*/ __string = "a"; @@ -40,5 +39,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __string = "a"; __executed = /(a)?a/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T27.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T27.js index 033d91721..9b5ecec18 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T27.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T27.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T27.js - * @description Execute /a|(b)/.exec("a") and check results - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: Execute /a|(b)/.exec("a") and check results +---*/ __string = "a"; @@ -40,5 +39,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __string = "a"; __executed = /a|(b)/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T28.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T28.js index 304e053e3..f6fdaf1e1 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T28.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T28.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T28.js - * @description Execute /(a)?(a)/.exec("a") and check results - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: Execute /(a)?(a)/.exec("a") and check results +---*/ __string = "a"; @@ -40,5 +39,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __string = "a"; __executed = /(a)?(a)/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T29.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T29.js index a17dc6b8b..6e61b2288 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T29.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T29.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T29.js - * @description See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353 - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: "See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353" +---*/ __string = "a"; @@ -40,5 +39,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __string = "a"; __executed = /^([a-z]+)*[a-z]$/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T3.js index 2ad172e72..a35887a75 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T3.js @@ -1,15 +1,17 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T3.js - * @description Execute /([Jj]ava([Ss]cript)?)\sis\s(fun\w*)/.test("Developing with JavaScript is dangerous, do not try it without assistance") and check results - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: > + Execute /([Jj]ava([Ss]cript)?)\sis\s(fun\w*)/.test("Developing + with JavaScript is dangerous, do not try it without assistance") + and check results +---*/ __executed = /([Jj]ava([Ss]cript)?)\sis\s(fun\w*)/.test("Developing with JavaScript is dangerous, do not try it without assistance"); @@ -17,5 +19,3 @@ __executed = /([Jj]ava([Ss]cript)?)\sis\s(fun\w*)/.test("Developing with JavaScr if (__executed) { $ERROR('#1: /([Jj]ava([Ss]cript)?)\\sis\\s(fun\\w*)/.test("Developing with JavaScript is dangerous, do not try it without assistance") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T30.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T30.js index 1b0c17a0e..81bcaeda3 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T30.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T30.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T30.js - * @description See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353 - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: "See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353" +---*/ __string = "ab"; @@ -40,5 +39,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __string = "ab"; __executed = /^([a-z]+)*[a-z]$/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T31.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T31.js index f19455475..428c863f3 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T31.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T31.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T31.js - * @description See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353 - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: "See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353" +---*/ __string = "abc"; @@ -40,5 +39,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __string = "abc"; __executed = /^([a-z]+)*[a-z]$/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T32.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T32.js index 76d781afb..af6f50da4 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T32.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T32.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T32.js - * @description See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353 - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: "See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353" +---*/ __string = "www.netscape.com"; @@ -40,5 +39,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __string = "www.netscape.com"; __executed = /^(([a-z]+)*[a-z]\\.)+[a-z]{2,}$/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T33.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T33.js index bcbab6c9c..ce8ba51f4 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T33.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T33.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T33.js - * @description See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353 - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: "See bug http:bugzilla.mozilla.org/show_bug.cgi?id=165353" +---*/ __string = "www.netscape.com"; @@ -40,5 +39,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __string = "www.netscape.com"; __executed = /^(([a-z]+)*([a-z])\\.)+[a-z]{2,}$/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T4.js index 88634c5e3..f5457e4e8 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T4.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T4.js - * @description Execute /(abc)/.exec("abc") and check results - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: Execute /(abc)/.exec("abc") and check results +---*/ __executed = /(abc)/.exec("abc"); @@ -38,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(abc)/.exec("abc"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T5.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T5.js index 4335f4287..4ea174536 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T5.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T5.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T5.js - * @description Execute /a(bc)d(ef)g/.exec("abcdefg") and check results - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: Execute /a(bc)d(ef)g/.exec("abcdefg") and check results +---*/ __executed = /a(bc)d(ef)g/.exec("abcdefg"); @@ -38,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /a(bc)d(ef)g/.exec("abcdefg"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T6.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T6.js index 51554db84..6cc87113b 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T6.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T6.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T6.js - * @description Execute /(.{3})(.{4})/.exec("abcdefgh") and check results - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: Execute /(.{3})(.{4})/.exec("abcdefgh") and check results +---*/ __executed = /(.{3})(.{4})/.exec("abcdefgh"); @@ -38,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(.{3})(.{4})/.exec("abcdefgh"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T7.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T7.js index 9617ff958..5e257f818 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T7.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T7.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T7.js - * @description Execute /(aa)bcd\1/.exec("aabcdaabcd") and check results - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: Execute /(aa)bcd\1/.exec("aabcdaabcd") and check results +---*/ __executed = /(aa)bcd\1/.exec("aabcdaabcd"); @@ -38,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(aa)bcd\\1/.exec("aabcdaabcd"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T8.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T8.js index 5b3fa9050..0ac3c5480 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T8.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T8.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T8.js - * @description Execute /(aa).+\1/.exec("aabcdaabcd") and check results - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: Execute /(aa).+\1/.exec("aabcdaabcd") and check results +---*/ __executed = /(aa).+\1/.exec("aabcdaabcd"); @@ -38,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(aa).+\\1/.exec("aabcdaabcd"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T9.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T9.js index d8d5dbce6..4aed45a2c 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T9.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T9.js @@ -1,15 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. - * The result can be used either in a backreference (\ followed by a nonzero decimal number), - * referenced in a replace string, - * or returned as part of an array from the regular expression matching function - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A3_T9.js - * @description Execute /(.{2}).+\1/.exec("aabcdaabcd") and check results - */ +/*--- +info: > + Parentheses of the form ( Disjunction ) serve both to group the components of the Disjunction pattern together and to save the result of the match. + The result can be used either in a backreference (\ followed by a nonzero decimal number), + referenced in a replace string, + or returned as part of an array from the regular expression matching function +description: Execute /(.{2}).+\1/.exec("aabcdaabcd") and check results +---*/ __executed = /(.{2}).+\1/.exec("aabcdaabcd"); @@ -38,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(.{2}).+\\1/.exec("aabcdaabcd"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T1.js index 7e3fd984c..9a84f786d 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_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 Atom :: . evaluates as follows: - * i) Let A be the set of all characters except the four line terminator characters <LF>, <CR>, <LS>, or <PS> - * ii) Call CharacterSetMatcher(A, false) and return its Matcher result - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T1.js - * @description Execute /ab.de/.exec("abcde") and check results - */ +/*--- +info: > + The production Atom :: . evaluates as follows: + i) Let A be the set of all characters except the four line terminator characters <LF>, <CR>, <LS>, or <PS> + ii) Call CharacterSetMatcher(A, false) and return its Matcher result +description: Execute /ab.de/.exec("abcde") and check results +---*/ __string = "abcde"; __executed = /ab.de/.exec(__string); @@ -38,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __string = "abcde"; __executed = /ab.de/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T2.js index ccddfc344..29175a1cb 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_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 Atom :: . evaluates as follows: - * i) Let A be the set of all characters except the four line terminator characters <LF>, <CR>, <LS>, or <PS> - * ii) Call CharacterSetMatcher(A, false) and return its Matcher result - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T2.js - * @description Execute /.+/.exec("line 1\nline 2") and check results - */ +/*--- +info: > + The production Atom :: . evaluates as follows: + i) Let A be the set of all characters except the four line terminator characters <LF>, <CR>, <LS>, or <PS> + ii) Call CharacterSetMatcher(A, false) and return its Matcher result +description: Execute /.+/.exec("line 1\nline 2") and check results +---*/ __string = "line 1\nline 2"; __executed = /.+/.exec(__string); @@ -38,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __string = "line 1\nline 2"; __executed = /.+/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T3.js index cd72ad8da..aa9dc1e8f 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_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 Atom :: . evaluates as follows: - * i) Let A be the set of all characters except the four line terminator characters <LF>, <CR>, <LS>, or <PS> - * ii) Call CharacterSetMatcher(A, false) and return its Matcher result - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T3.js - * @description Execute /.*a.* /.exec("this is a test") and check results - */ +/*--- +info: > + The production Atom :: . evaluates as follows: + i) Let A be the set of all characters except the four line terminator characters <LF>, <CR>, <LS>, or <PS> + ii) Call CharacterSetMatcher(A, false) and return its Matcher result +description: Execute /.*a.* /.exec("this is a test") and check results +---*/ __string = "this is a test"; __executed = /.*a.*/.exec(__string); @@ -38,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __string = "this is a test"; __executed = /.*a.*/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T4.js index 63f02fd4a..ddfe10b63 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_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 Atom :: . evaluates as follows: - * i) Let A be the set of all characters except the four line terminator characters <LF>, <CR>, <LS>, or <PS> - * ii) Call CharacterSetMatcher(A, false) and return its Matcher result - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T4.js - * @description Execute /.+/.exec("this is a *&^%$# test") and check results - */ +/*--- +info: > + The production Atom :: . evaluates as follows: + i) Let A be the set of all characters except the four line terminator characters <LF>, <CR>, <LS>, or <PS> + ii) Call CharacterSetMatcher(A, false) and return its Matcher result +description: Execute /.+/.exec("this is a *&^%$# test") and check results +---*/ __string = "this is a *&^%$# test"; __executed = /.+/.exec(__string); @@ -38,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __string = "this is a *&^%$# test"; __executed = /.+/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T5.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T5.js index eafdb66f6..4cdc937c4 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T5.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_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 Atom :: . evaluates as follows: - * i) Let A be the set of all characters except the four line terminator characters <LF>, <CR>, <LS>, or <PS> - * ii) Call CharacterSetMatcher(A, false) and return its Matcher result - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T5.js - * @description Execute /.+/.exec("....") and check results - */ +/*--- +info: > + The production Atom :: . evaluates as follows: + i) Let A be the set of all characters except the four line terminator characters <LF>, <CR>, <LS>, or <PS> + ii) Call CharacterSetMatcher(A, false) and return its Matcher result +description: Execute /.+/.exec("....") and check results +---*/ __string = "...."; __executed = /.+/.exec(__string); @@ -38,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __string = "...."; __executed = /.+/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T6.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T6.js index fac61d3a7..98246d729 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T6.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_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 Atom :: . evaluates as follows: - * i) Let A be the set of all characters except the four line terminator characters <LF>, <CR>, <LS>, or <PS> - * ii) Call CharacterSetMatcher(A, false) and return its Matcher result - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T6.js - * @description Execute /.+/.exec("abcdefghijklmnopqrstuvwxyz") and check results - */ +/*--- +info: > + The production Atom :: . evaluates as follows: + i) Let A be the set of all characters except the four line terminator characters <LF>, <CR>, <LS>, or <PS> + ii) Call CharacterSetMatcher(A, false) and return its Matcher result +description: Execute /.+/.exec("abcdefghijklmnopqrstuvwxyz") and check results +---*/ __string = "abcdefghijklmnopqrstuvwxyz"; __executed = /.+/.exec(__string); @@ -38,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __string = "abcdefghijklmnopqrstuvwxyz"; __executed = /.+/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T7.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T7.js index 73c2343ba..af010c24a 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T7.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T7.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 Atom :: . evaluates as follows: - * i) Let A be the set of all characters except the four line terminator characters <LF>, <CR>, <LS>, or <PS> - * ii) Call CharacterSetMatcher(A, false) and return its Matcher result - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T7.js - * @description Execute /.+/.exec("ABCDEFGHIJKLMNOPQRSTUVWXYZ") and check results - */ +/*--- +info: > + The production Atom :: . evaluates as follows: + i) Let A be the set of all characters except the four line terminator characters <LF>, <CR>, <LS>, or <PS> + ii) Call CharacterSetMatcher(A, false) and return its Matcher result +description: Execute /.+/.exec("ABCDEFGHIJKLMNOPQRSTUVWXYZ") and check results +---*/ __string = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; __executed = /.+/.exec(__string); @@ -38,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __string = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; __executed = /.+/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T8.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T8.js index 5b1fec20d..c396ac293 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T8.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T8.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 Atom :: . evaluates as follows: - * i) Let A be the set of all characters except the four line terminator characters <LF>, <CR>, <LS>, or <PS> - * ii) Call CharacterSetMatcher(A, false) and return its Matcher result - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T8.js - * @description Execute /.+/.exec("`1234567890-=~!@#$%^&*()_+") and check results - */ +/*--- +info: > + The production Atom :: . evaluates as follows: + i) Let A be the set of all characters except the four line terminator characters <LF>, <CR>, <LS>, or <PS> + ii) Call CharacterSetMatcher(A, false) and return its Matcher result +description: Execute /.+/.exec("`1234567890-=~!@#$%^&*()_+") and check results +---*/ __string = "`1234567890-=~!@#$%^&*()_+"; __executed = /.+/.exec(__string); @@ -38,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __string = "`1234567890-=~!@#$%^&*()_+"; __executed = /.+/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T9.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T9.js index f34f43ad8..7b6e765d3 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T9.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T9.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 Atom :: . evaluates as follows: - * i) Let A be the set of all characters except the four line terminator characters <LF>, <CR>, <LS>, or <PS> - * ii) Call CharacterSetMatcher(A, false) and return its Matcher result - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A4_T9.js - * @description Execute /.+/.exec("|\\[{]};:\"\',<>.?/") and check results - */ +/*--- +info: > + The production Atom :: . evaluates as follows: + i) Let A be the set of all characters except the four line terminator characters <LF>, <CR>, <LS>, or <PS> + ii) Call CharacterSetMatcher(A, false) and return its Matcher result +description: "Execute /.+/.exec(\"|\\\\[{]};:\\\"\\',<>.?/\") and check results" +---*/ __string = "|\\[{]};:\"\',<>.?/"; __executed = /.+/.exec(__string); @@ -38,5 +37,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __string = "|\\[{]};:\"\',<>.?/"; __executed = /.+/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A5_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A5_T1.js index e3ca1fdcd..a900620eb 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A5_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A5_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. -/** - * In case-insignificant matches all characters are implicitly converted to upper case immediately before they are compared - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A5_T1.js - * @description Execute /[a-z]+/ig.exec("ABC def ghi") and check results - */ +/*--- +info: > + In case-insignificant matches all characters are implicitly converted to + upper case immediately before they are compared +description: Execute /[a-z]+/ig.exec("ABC def ghi") and check results +---*/ __string = "ABC def ghi"; __executed = /[a-z]+/ig.exec(__string); @@ -36,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __string = "ABC def ghi"; __executed = /[a-z]+/ig.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A5_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A5_T2.js index 383fc8476..e752eed29 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A5_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A5_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. -/** - * In case-insignificant matches all characters are implicitly converted to upper case immediately before they are compared - * - * @path ch15/15.10/15.10.2/15.10.2.8/S15.10.2.8_A5_T2.js - * @description Execute /[a-z]+/.exec("ABC def ghi") and check results - */ +/*--- +info: > + In case-insignificant matches all characters are implicitly converted to + upper case immediately before they are compared +description: Execute /[a-z]+/.exec("ABC def ghi") and check results +---*/ __string = "ABC def ghi"; __executed = /[a-z]+/.exec(__string); @@ -36,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __string = "ABC def ghi"; __executed = /[a-z]+/.exec(__string); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T1.js b/test/suite/ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T1.js index 688932566..0dbe91ec5 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T1.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T1.js @@ -1,12 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * An escape sequence of the form \ followed by a nonzero decimal number n matches the result of the nth set of capturing parentheses (see 15.10.2.11) - * - * @path ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T1.js - * @description Execute /\b(\w+) \1\b/.exec("do you listen the the band") and check results - */ +/*--- +info: > + An escape sequence of the form \ followed by a nonzero decimal number n + matches the result of the nth set of capturing parentheses (see + 15.10.2.11) +description: > + Execute /\b(\w+) \1\b/.exec("do you listen the the band") and + check results +---*/ __executed = /\b(\w+) \1\b/.exec("do you listen the the band"); @@ -35,5 +38,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /\\b(\\w+) \\1\\b/.exec("do you listen the the band"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T2.js b/test/suite/ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T2.js index 663096734..e7cc30759 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T2.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T2.js @@ -1,12 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * An escape sequence of the form \ followed by a nonzero decimal number n matches the result of the nth set of capturing parentheses (see 15.10.2.11) - * - * @path ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T2.js - * @description Execute /([xu]\d{2}([A-H]{2})?)\1/.exec("x09x12x01x01u00FFu00FFx04x04x23") and check results - */ +/*--- +info: > + An escape sequence of the form \ followed by a nonzero decimal number n + matches the result of the nth set of capturing parentheses (see + 15.10.2.11) +description: > + Execute + /([xu]\d{2}([A-H]{2})?)\1/.exec("x09x12x01x01u00FFu00FFx04x04x23") + and check results +---*/ __executed = /([xu]\d{2}([A-H]{2})?)\1/.exec("x09x12x01x01u00FFu00FFx04x04x23"); @@ -35,5 +39,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /([xu]\\d{2}([A-H]{2})?)\\1/.exec("x09x12x01x01u00FFu00FFx04x04x23"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T3.js b/test/suite/ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T3.js index 83349b41d..c6971dbfe 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T3.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T3.js @@ -1,12 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * An escape sequence of the form \ followed by a nonzero decimal number n matches the result of the nth set of capturing parentheses (see 15.10.2.11) - * - * @path ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T3.js - * @description Execute /([xu]\d{2}([A-H]{2})?)\1/.exec("x09x12x01x05u00FFu00FFx04x04x23") and check results - */ +/*--- +info: > + An escape sequence of the form \ followed by a nonzero decimal number n + matches the result of the nth set of capturing parentheses (see + 15.10.2.11) +description: > + Execute + /([xu]\d{2}([A-H]{2})?)\1/.exec("x09x12x01x05u00FFu00FFx04x04x23") + and check results +---*/ __executed = /([xu]\d{2}([A-H]{2})?)\1/.exec("x09x12x01x05u00FFu00FFx04x04x23"); @@ -35,5 +39,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /([xu]\\d{2}([A-H]{2})?)\\1/.exec("x09x12x01x05u00FFu00FFx04x04x23"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T4.js b/test/suite/ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T4.js index a0d5c8855..a1893e3e6 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T4.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T4.js @@ -1,12 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * An escape sequence of the form \ followed by a nonzero decimal number n matches the result of the nth set of capturing parentheses (see 15.10.2.11) - * - * @path ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T4.js - * @description Execute /\b(\w+) \2\b/.test("do you listen the the band") and check results - */ +/*--- +info: > + An escape sequence of the form \ followed by a nonzero decimal number n + matches the result of the nth set of capturing parentheses (see + 15.10.2.11) +description: > + Execute /\b(\w+) \2\b/.test("do you listen the the band") and + check results +---*/ __executed = /\b(\w+) \2\b/.test("do you listen the the band"); @@ -14,5 +17,3 @@ __executed = /\b(\w+) \2\b/.test("do you listen the the band"); if (__executed) { $ERROR('#1: /\\b(\\w+) \\2\\b/.test("do you listen the the band") === false'); } - - diff --git a/test/suite/ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T5.js b/test/suite/ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T5.js index 074fb95bb..a2b2c62c9 100644 --- a/test/suite/ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T5.js +++ b/test/suite/ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T5.js @@ -1,12 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * An escape sequence of the form \ followed by a nonzero decimal number n matches the result of the nth set of capturing parentheses (see 15.10.2.11) - * - * @path ch15/15.10/15.10.2/15.10.2.9/S15.10.2.9_A1_T5.js - * @description Execute /(a*)b\1+/.exec("baaac") and check results - */ +/*--- +info: > + An escape sequence of the form \ followed by a nonzero decimal number n + matches the result of the nth set of capturing parentheses (see + 15.10.2.11) +description: Execute /(a*)b\1+/.exec("baaac") and check results +---*/ __executed = /(a*)b\1+/.exec("baaac"); @@ -35,5 +36,3 @@ for(var index=0; index<__expected.length; index++) { $ERROR('#4: __executed = /(a*)b\\1+/.exec("baaac"); __executed[' + index + '] === ' + __expected[index] + '. Actual: ' + __executed[index]); } } - - diff --git a/test/suite/ch15/15.10/15.10.2/S15.10.2_A1_T1.js b/test/suite/ch15/15.10/15.10.2/S15.10.2_A1_T1.js index 9ba10e4b5..9e8e9e44b 100644 --- a/test/suite/ch15/15.10/15.10.2/S15.10.2_A1_T1.js +++ b/test/suite/ch15/15.10/15.10.2/S15.10.2_A1_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * XML Shallow Parsing with Regular Expressions - * - * @path ch15/15.10/15.10.2/S15.10.2_A1_T1.js - * @description See bug http://bugzilla.mozilla.org/show_bug.cgi?id=103087 - */ +/*--- +info: XML Shallow Parsing with Regular Expressions +description: "See bug http://bugzilla.mozilla.org/show_bug.cgi?id=103087" +---*/ // REX/Javascript 1.0 // Robert D. Cameron "REX: XML Shallow Parsing with Regular Expressions", @@ -85,5 +83,3 @@ try { } // ////////////////////////////////////////////////////////////////////////////// - - |