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

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

Issue 6171001: Change interpretation of malformed \c? escapes in RegExp to match JSC. (Closed)
Patch Set: Fix lint problem Created 9 years, 11 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
« test/cctest/test-regexp.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 4208 matching lines...) Expand 10 before | Expand all | Expand 10 after
4219 assertEquals(null, res[831].exec("*** Failers", 2571)); 4219 assertEquals(null, res[831].exec("*** Failers", 2571));
4220 assertEquals(null, res[831].exec("abc", 2572)); 4220 assertEquals(null, res[831].exec("abc", 2572));
4221 assertEquals(null, res[831].exec("ab cde", 2573)); 4221 assertEquals(null, res[831].exec("ab cde", 2573));
4222 assertEquals("ab c", res[831].exec("ab c"), 2574); 4222 assertEquals("ab c", res[831].exec("ab c"), 2574);
4223 assertEquals(null, res[831].exec("*** Failers", 2575)); 4223 assertEquals(null, res[831].exec("*** Failers", 2575));
4224 assertEquals(null, res[831].exec("abc", 2576)); 4224 assertEquals(null, res[831].exec("abc", 2576));
4225 assertEquals(null, res[831].exec("ab cde", 2577)); 4225 assertEquals(null, res[831].exec("ab cde", 2577));
4226 assertEquals("a bcd", res[832].exec("a bcd"), 2578); 4226 assertEquals("a bcd", res[832].exec("a bcd"), 2578);
4227 assertEquals(null, res[832].exec("a b d", 2579)); 4227 assertEquals(null, res[832].exec("a b d", 2579));
4228 assertEquals(null, res[832].exec("*** Failers", 2580)); 4228 assertEquals(null, res[832].exec("*** Failers", 2580));

error: old chunk mismatch

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

Powered by Google App Engine
This is Rietveld 408576698