Name Description Size
15.5.4.11.js 9053
15.10.6.2-2.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 8439
browser.js 0
character-escape-class-s-mongolian-vowel-separator.js 1178
compile-symbol.js 486
constructor-symbol.js 596
control_characters.js Filename: control_characters.js Description: 'Tests regular expressions containing .' Author: Nick Lerissa Date: April 8, 1998 1311
everything.js Filename: everything.js Description: 'Tests regular expressions' Author: Nick Lerissa Date: March 24, 1998 2254
exec-002.js File Name: RegExp/exec-002.js ECMA Section: 15.7.5.3 Description: Based on ECMA 2 Draft 7 February 1999 Test cases provided by rogerl@netscape.com Author: christine@netscape.com Date: 19 February 1999 3339
multiline-001.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 1752
octal-001.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 2005
octal-002.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 2499
octal-003.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 2760
oom-in-construction.js 376
perlstress-001.js Date: 2002-07-07 SUMMARY: Testing JS RegExp engine against Perl 5 RegExp engine. Adjust cnLBOUND, cnUBOUND below to restrict which sections are tested. This test was created by running various patterns and strings through the Perl 5 RegExp engine. We saved the results below to test the JS engine. NOTE: ECMA/JS and Perl do differ on certain points. We have either commented out such sections altogether, or modified them to fit what we expect from JS. EXAMPLES: - In JS, regexp captures (/(a) etc./) must hold |undefined| if not used. See http://bugzilla.mozilla.org/show_bug.cgi?id=123437. By contrast, in Perl, unmatched captures hold the empty string. We have modified such sections accordingly. Example: pattern = /^([^a-z])|(\^)$/; string = '.'; actualmatch = string.match(pattern); //expectedmatch = Array('.', '.', ''); <<<--- Perl expectedmatch = Array('.', '.', undefined); <<<--- JS addThis(); - In JS, you can't refer to a capture before it's encountered & completed - Perl supports ] & ^] inside a [], ECMA does not - ECMA does support (?: (?= and (?! operators, but doesn't support (?< etc. - ECMA doesn't support (?imsx or (?-imsx - ECMA doesn't support (?(condition) - Perl has \Z has end-of-line, ECMA doesn't - In ECMA, ^ matches only the empty string before the first character - In ECMA, $ matches only the empty string at end of input (unless multiline) - ECMA spec says that each atom in a range must be a single character - ECMA doesn't support \A - ECMA doesn't have rules for [: 75121
perlstress-002.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 35951
properties-001.js File Name: RegExp/properties-001.js ECMA Section: 15.7.6.js Description: Based on ECMA 2 Draft 7 February 1999 Author: christine@netscape.com Date: 19 February 1999 2734
properties-002.js File Name: RegExp/properties-002.js ECMA Section: 15.7.6.js Description: Based on ECMA 2 Draft 7 February 1999 Author: christine@netscape.com Date: 19 February 1999 3715
regexp-enumerate-001.js File Name: regexp-enumerate-001.js ECMA V2 Section: Description: Regression Test. If instance Native Object have properties that are enumerable, JavaScript enumerated through the properties twice. This only happened if objects had been instantiated, but their properties had not been enumerated. ie, the object inherited properties from its prototype that are enumerated. In the core JavaScript, this is only a problem with RegExp objects, since the inherited properties of most core JavaScript objects are not enumerated. Author: christine@netscape.com, pschwartau@netscape.com Date: 12 November 1997 Modified: 14 July 2002 Reason: See http://bugzilla.mozilla.org/show_bug.cgi?id=155291 ECMA-262 Ed.3 Sections 15.10.7.1 through 15.10.7.5 RegExp properties should be DontEnum 2245
regexp-space-character-class.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 975
RegExp_dollar_number.js Filename: RegExp_dollar_number.js Description: 'Tests RegExps $1, ..., $9 properties' Author: Nick Lerissa Date: March 12, 1998 2882
RegExp_lastMatch.js Filename: RegExp_lastMatch.js Description: 'Tests RegExps lastMatch property' Author: Nick Lerissa Date: March 12, 1998 1719
RegExp_lastMatch_as_array.js Filename: RegExp_lastMatch_as_array.js Description: 'Tests RegExps $& property (same tests as RegExp_lastMatch.js but using $&)' Author: Nick Lerissa Date: March 13, 1998 1700
RegExp_lastParen.js Filename: RegExp_lastParen.js Description: 'Tests RegExps lastParen property' Author: Nick Lerissa Date: March 12, 1998 2267
RegExp_lastParen_as_array.js Filename: RegExp_lastParen_as_array.js Description: 'Tests RegExps $+ property (same tests as RegExp_lastParen.js but using $+)' Author: Nick Lerissa Date: March 13, 1998 2246
RegExp_leftContext.js Filename: RegExp_leftContext.js Description: 'Tests RegExps leftContext property' Author: Nick Lerissa Date: March 12, 1998 1883
RegExp_leftContext_as_array.js Filename: RegExp_leftContext_as_array.js Description: 'Tests RegExps leftContext property (same tests as RegExp_leftContext.js but using $`)' Author: Nick Lerissa Date: March 12, 1998 1817
RegExp_object.js Filename: RegExp_object.js Description: 'Tests regular expressions creating RexExp Objects' Author: Nick Lerissa Date: March 10, 1998 2078
RegExp_rightContext.js Filename: RegExp_rightContext.js Description: 'Tests RegExps rightContext property' Author: Nick Lerissa Date: March 12, 1998 1908
RegExp_rightContext_as_array.js Filename: RegExp_rightContext_as_array.js Description: 'Tests RegExps $\' property (same tests as RegExp_rightContext.js but using $\)' Author: Nick Lerissa Date: March 12, 1998 1825
regress-001.js File Name: RegExp/regress-001.js ECMA Section: N/A Description: Regression test case: JS regexp anchoring on empty match bug http://bugzilla.mozilla.org/show_bug.cgi?id=2157 Author: christine@netscape.com Date: 19 February 1999 1178
regress-6359.js File Name: regress-6359.js Reference: ** replace with bugzilla URL or document reference ** Description: ** replace with description of test ** Author: ** replace with your e-mail address ** 1833
regress-9141.js File Name: regress-9141.js Reference: "http://bugzilla.mozilla.org/show_bug.cgi?id=9141"; Description: From waldemar@netscape.com: The following page crashes the system: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <HTML> <HEAD> </HEAD> <BODY> <SCRIPT type="text/javascript"> var s = "x"; for (var i = 0; i != 13; i++) s += s; var a = /(?:xx|x)*[slash](s); var b = /(xx|x)*[slash](s); document.write("Results = " + a.length + "," + b.length); </SCRIPT> </BODY> 2244
regress-24712.js 549
regress-28686.js 491
regress-31316.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 1647
regress-57572.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 3451
regress-57631.js Date: 26 November 2000 SUMMARY: This test arose from Bugzilla bug 57631: "RegExp with invalid pattern or invalid flag causes segfault" Either error should throw an exception of type SyntaxError, and we check to see that it does... 3102
regress-67773.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 4420
regress-72964.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 2324
regress-76683.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 2229
regress-78156.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 2227
regress-87231.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 2991
regress-98306.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 1359
regress-100199.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 5736
regress-105972.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 3341
regress-119909.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 1552
regress-122076.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 2275
regress-123437.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 1903
regress-165353.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 2219
regress-169497.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 1843
regress-169534.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 1484
regress-187133.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 2580
regress-188206.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 3937
regress-191479.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 3817
regress-202564.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 1908
regress-209067.js Date: 12 June 2003 SUMMARY: Testing complicated str.replace() See http://bugzilla.mozilla.org/show_bug.cgi?id=209067 78185
regress-209919.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 3607
regress-216591.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 2278
regress-220367-001.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 1633
regress-223273.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 5435
regress-223535.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 2244
regress-224676.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 4289
regress-225289.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 3092
regress-225343.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 2242
regress-285219.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 640
regress-305064.js List from ES 3.1 Recommendation for String.trim (bug 305064) * 1966
regress-309840.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 642
regress-312351.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 578
regress-334158.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 873
regress-346090.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 816
regress-367888.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 789
regress-375642.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 761
regress-375651.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 795
regress-375711.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 1814
regress-375715-01-n.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 954
regress-375715-02.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 779
regress-375715-03.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 797
regress-375715-04.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 966
regress-429241.js 2958
regress-436700.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 855
regress-465862.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 2126
regress-617935.js Length of 32 974
shell.js --- defines: [testRegExp, makeExpectedMatch, checkRegExpMatch] allow_unused: True --- 7031
unicode-index.js 613
yflag.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 3329