Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(546)

Side by Side Diff: test/mjsunit/regexp-pcre.js

Issue 21078: RegExp parser: Fixed unchecked numeric overflow bug. (Closed)
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« src/parser.cc ('K') | « test/mjsunit/regexp.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
None
OLDNEW
1 // Autogenerated from the PCRE test suite Mon Feb 2 15:14:04 CET 2009 1 // Autogenerated from the PCRE test suite Mon Feb 2 15:14:04 CET 2009
2 2
3 // Note that some regexps in the PCRE test suite use features not present 3 // Note that some regexps in the PCRE test suite use features not present
4 // in JavaScript. These don't work in JS, but they fail to work in a 4 // in JavaScript. These don't work in JS, but they fail to work in a
5 // predictable way, and the expected results reflect this. 5 // predictable way, and the expected results reflect this.
6 6
7 // PCRE comes with the following license 7 // PCRE comes with the following license
8 8
9 // PCRE LICENCE 9 // PCRE LICENCE
10 // ------------ 10 // ------------
(...skipping 2089 matching lines...) Expand 10 before | Expand all | Expand 10 after
2100 assertEquals("line\nbreak", res[252].exec("line one\nthis is a line\nbreak in th e second line"), 453); 2100 assertEquals("line\nbreak", res[252].exec("line one\nthis is a line\nbreak in th e second line"), 453);
2101 assertEquals("line\nbreak", res[253].exec("this is a line\nbreak"), 454); 2101 assertEquals("line\nbreak", res[253].exec("this is a line\nbreak"), 454);
2102 assertEquals(null, res[253].exec("** Failers", 455)); 2102 assertEquals(null, res[253].exec("** Failers", 455));
2103 assertEquals("line\nbreak", res[253].exec("line one\nthis is a line\nbreak in th e second line"), 456); 2103 assertEquals("line\nbreak", res[253].exec("line one\nthis is a line\nbreak in th e second line"), 456);
2104 assertEquals("ab-cd", res[254].exec("ab-cd"), 457); 2104 assertEquals("ab-cd", res[254].exec("ab-cd"), 457);
2105 assertEquals("ab=cd", res[254].exec("ab=cd"), 458); 2105 assertEquals("ab=cd", res[254].exec("ab=cd"), 458);
2106 assertEquals(null, res[254].exec("** Failers", 459)); 2106 assertEquals(null, res[254].exec("** Failers", 459));
2107 assertEquals(null, res[254].exec("ab\ncd", 460)); 2107 assertEquals(null, res[254].exec("ab\ncd", 460));
2108 assertEquals("ab-cd", res[255].exec("ab-cd"), 461); 2108 assertEquals("ab-cd", res[255].exec("ab-cd"), 461);
2109 assertEquals("ab=cd", res[255].exec("ab=cd"), 462); 2109 assertEquals("ab=cd", res[255].exec("ab=cd"), 462);

error: old chunk mismatch

OLDNEW
« src/parser.cc ('K') | « test/mjsunit/regexp.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698