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

Issue 2636883002: [regexp] Implement regexp groups as wrapper. (Closed)

Created:
3 years, 11 months ago by Yang
Modified:
3 years, 11 months ago
Reviewers:
erikcorry, jgruber
CC:
v8-reviews_googlegroups.com, Erik Corry Chromium.org
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[regexp] Implement regexp groups as wrapper. Non-capturing groups so far did not have any effect, so we elided them in the regexp parser. However, they do affect how lookarounds are parsed: in unicode mode, lookarounds are not quantifiable. They are however if wrapped in a group. BUG=v8:5845 Review-Url: https://codereview.chromium.org/2636883002 Cr-Commit-Position: refs/heads/master@{#42436} Committed: https://chromium.googlesource.com/v8/v8/+/92acec568c83c6278ce2e31493c7a1cd1dd6c8c5

Patch Set 1 #

Patch Set 2 : test case #

Total comments: 2

Patch Set 3 : address comments #

Patch Set 4 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -5 lines) Patch
M src/regexp/regexp-ast.h View 2 chunks +21 lines, -1 line 0 comments Download
M src/regexp/regexp-ast.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M src/regexp/regexp-parser.cc View 1 chunk +3 lines, -1 line 0 comments Download
M test/cctest/test-regexp.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
A test/mjsunit/regress/regress-5845.js View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
Yang
3 years, 11 months ago (2017-01-16 10:34:31 UTC) #2
erikcorry
lgtm Fast work :-) https://codereview.chromium.org/2636883002/diff/20001/src/regexp/regexp-ast.cc File src/regexp/regexp-ast.cc (right): https://codereview.chromium.org/2636883002/diff/20001/src/regexp/regexp-ast.cc#newcode268 src/regexp/regexp-ast.cc:268: os_ << "( "; Should ...
3 years, 11 months ago (2017-01-16 11:34:32 UTC) #6
jgruber
lgtm https://codereview.chromium.org/2636883002/diff/20001/src/regexp/regexp-ast.cc File src/regexp/regexp-ast.cc (right): https://codereview.chromium.org/2636883002/diff/20001/src/regexp/regexp-ast.cc#newcode268 src/regexp/regexp-ast.cc:268: os_ << "( "; Nit: Seems like the ...
3 years, 11 months ago (2017-01-16 11:35:40 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2636883002/40001
3 years, 11 months ago (2017-01-17 14:41:10 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel_ng/builds/15602) v8_linux64_asan_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
3 years, 11 months ago (2017-01-17 14:56:22 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2636883002/60001
3 years, 11 months ago (2017-01-18 07:49:04 UTC) #17
commit-bot: I haz the power
3 years, 11 months ago (2017-01-18 08:15:06 UTC) #20
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/v8/v8/+/92acec568c83c6278ce2e31493c7a1cd1dd...

Powered by Google App Engine
This is Rietveld 408576698