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

Issue 5723002: Make RegExp character class match JSC. (Closed)

Created:
10 years ago by Lasse Reichstein
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Make RegExp character class match JSC. See http://trac.webkit.org/changeset/73594

Patch Set 1 #

Total comments: 3

Patch Set 2 : Address review comments. Add tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -11 lines) Patch
M src/parser.cc View 1 4 chunks +25 lines, -11 lines 0 comments Download
M test/mjsunit/regexp.js View 1 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Lasse Reichstein
Should make us match the Webkit layout tests.
10 years ago (2010-12-10 13:11:19 UTC) #1
Erik Corry
10 years ago (2010-12-10 14:02:51 UTC) #2
Can't we add some tests to our own collection?  Even if they are copied from the
WebKit tests then it's nicer to get future failures before we roll to Chromium.

LGTM

http://codereview.chromium.org/5723002/diff/1/src/parser.cc
File src/parser.cc (right):

http://codereview.chromium.org/5723002/diff/1/src/parser.cc#newcode4455
src/parser.cc:4455: if (char_class) {
char_class == kInvalidCharClass?

http://codereview.chromium.org/5723002/diff/1/src/parser.cc#newcode4489
src/parser.cc:4489: uc16 char_class_2 = 0;
kInvalidCharClass

http://codereview.chromium.org/5723002/diff/1/src/parser.cc#newcode4491
src/parser.cc:4491: if (char_class || char_class_2) {
And here.

Powered by Google App Engine
This is Rietveld 408576698