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

Issue 1641613002: [regexp] implement /ui to mirror the implementation for /i. (Closed)

Created:
4 years, 10 months ago by Yang
Modified:
4 years, 10 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[regexp] implement /ui to mirror the implementation for /i. R=erik.corry@gmail.com, erikcorry@chromium.org Committed: https://crrev.com/eea1a4c003c559c99bcc9f08aa7eadf931975aad Cr-Commit-Position: refs/heads/master@{#33655}

Patch Set 1 #

Total comments: 8

Patch Set 2 : addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -138 lines) Patch
M src/regexp/jsregexp.h View 1 13 chunks +19 lines, -19 lines 0 comments Download
M src/regexp/jsregexp.cc View 1 35 chunks +126 lines, -114 lines 0 comments Download
M src/regexp/regexp-parser.cc View 1 1 chunk +4 lines, -1 line 0 comments Download
M src/unicode.h View 2 chunks +3 lines, -3 lines 0 comments Download
M test/cctest/test-strings.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (6 generated)
Yang
With this patch, the /ui handling mirrors the original /i handling more closely, as it ...
4 years, 10 months ago (2016-01-27 10:22:55 UTC) #1
Yang
On 2016/01/27 10:22:55, Yang wrote: > With this patch, the /ui handling mirrors the original ...
4 years, 10 months ago (2016-02-01 04:52:57 UTC) #3
erikcorry
lgtm https://codereview.chromium.org/1641613002/diff/1/src/regexp/jsregexp.cc File src/regexp/jsregexp.cc (left): https://codereview.chromium.org/1641613002/diff/1/src/regexp/jsregexp.cc#oldcode1660 src/regexp/jsregexp.cc:1660: if (one_byte && c > String::kMaxOneByteCharCodeU) { I ...
4 years, 10 months ago (2016-02-01 15:21:40 UTC) #5
Yang
https://codereview.chromium.org/1641613002/diff/1/src/regexp/jsregexp.cc File src/regexp/jsregexp.cc (left): https://codereview.chromium.org/1641613002/diff/1/src/regexp/jsregexp.cc#oldcode1660 src/regexp/jsregexp.cc:1660: if (one_byte && c > String::kMaxOneByteCharCodeU) { On 2016/02/01 ...
4 years, 10 months ago (2016-02-02 06:06:48 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1641613002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1641613002/20001
4 years, 10 months ago (2016-02-02 06:06:57 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-02 07:07:43 UTC) #11
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/eea1a4c003c559c99bcc9f08aa7eadf931975aad Cr-Commit-Position: refs/heads/master@{#33655}
4 years, 10 months ago (2016-02-02 07:09:49 UTC) #13
Yang
4 years, 10 months ago (2016-02-02 11:34:30 UTC) #14
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1661483002/ by yangguo@chromium.org.

The reason for reverting is: This test fails:

assertEquals(["as"], /^a[\u017F]/ui.exec("as"));

The reason is that we end up with a character class that is not stand alone, so
we do not perform case folding on it correctly (with unicode flag)..

Powered by Google App Engine
This is Rietveld 408576698