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

Issue 439008: Add Pattern, an implementation of a regular expression parser and matcher.... (Closed)

Created:
11 years, 1 month ago by James Hawkins
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, ben+cc_chromium.org
Visibility:
Public.

Description

Add Pattern, an implementation of a regular expression parser and matcher. BUG=none TEST=none

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Total comments: 10

Patch Set 3 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+211 lines, -0 lines) Patch
A chrome/browser/autofill/pattern.h View 1 2 1 chunk +210 lines, -0 lines 1 comment Download
M chrome/chrome.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
James Hawkins
11 years, 1 month ago (2009-11-23 21:48:52 UTC) #1
Ben Goodger (Google)
I'm probably not the best person to review this, since I know nothing about regexps. ...
11 years, 1 month ago (2009-11-23 22:18:17 UTC) #2
Nico
What's this needed for? http://codereview.chromium.org/439008/diff/1/2 File chrome/browser/autofill/pattern.h (right): http://codereview.chromium.org/439008/diff/1/2#newcode22 chrome/browser/autofill/pattern.h:22: // a|b : match either ...
11 years, 1 month ago (2009-11-23 23:16:00 UTC) #3
tony
Also, v8 has a full regex engine (irregexp) and extensions has a simple URL pattern ...
11 years, 1 month ago (2009-11-23 23:43:38 UTC) #4
James Hawkins
On 2009/11/23 23:43:38, tony wrote: > Also, v8 has a full regex engine (irregexp) and ...
11 years, 1 month ago (2009-11-23 23:57:49 UTC) #5
tony
On 2009/11/23 23:57:49, James Hawkins wrote: > Correct me if I'm wrong, but from my ...
11 years, 1 month ago (2009-11-24 00:10:29 UTC) #6
James Hawkins
On 2009/11/24 00:10:29, tony wrote: > On 2009/11/23 23:57:49, James Hawkins wrote: > > Correct ...
11 years, 1 month ago (2009-11-24 00:27:23 UTC) #7
tony
We use v8 in the browser process for processing proxy pac files. Have you considered ...
11 years, 1 month ago (2009-11-24 00:58:22 UTC) #8
Nico
http://codereview.chromium.org/439008/diff/1/2 File chrome/browser/autofill/pattern.h (right): http://codereview.chromium.org/439008/diff/1/2#newcode31 chrome/browser/autofill/pattern.h:31: static Term* Parse(const string16 &p); So, if this is ...
11 years, 1 month ago (2009-11-24 01:03:50 UTC) #9
James Hawkins
http://codereview.chromium.org/439008/diff/1/2 File chrome/browser/autofill/pattern.h (right): http://codereview.chromium.org/439008/diff/1/2#newcode22 chrome/browser/autofill/pattern.h:22: // a|b : match either a or b On ...
11 years, 1 month ago (2009-11-24 01:04:18 UTC) #10
Nico
A few more stupid questions :-) http://codereview.chromium.org/439008/diff/2003/2004 File chrome/browser/autofill/pattern.h (right): http://codereview.chromium.org/439008/diff/2003/2004#newcode21 chrome/browser/autofill/pattern.h:21: // <webstring> ::= ...
11 years, 1 month ago (2009-11-24 01:08:34 UTC) #11
James Hawkins
http://codereview.chromium.org/439008/diff/1/2 File chrome/browser/autofill/pattern.h (right): http://codereview.chromium.org/439008/diff/1/2#newcode31 chrome/browser/autofill/pattern.h:31: static Term* Parse(const string16 &p); On 2009/11/24 01:03:50, Nico ...
11 years, 1 month ago (2009-11-24 01:09:23 UTC) #12
Nico
On Mon, Nov 23, 2009 at 5:09 PM, <jhawkins@chromium.org> wrote: > > http://codereview.chromium.org/439008/diff/1/2 > > ...
11 years, 1 month ago (2009-11-24 01:13:21 UTC) #13
James Hawkins
http://codereview.chromium.org/439008/diff/2003/2004 File chrome/browser/autofill/pattern.h (right): http://codereview.chromium.org/439008/diff/2003/2004#newcode21 chrome/browser/autofill/pattern.h:21: // <webstring> ::= "@" <basic-RE> On 2009/11/24 01:08:34, Nico ...
11 years, 1 month ago (2009-11-24 01:18:13 UTC) #14
Nico
http://codereview.chromium.org/439008/diff/2003/2004 File chrome/browser/autofill/pattern.h (right): http://codereview.chromium.org/439008/diff/2003/2004#newcode21 chrome/browser/autofill/pattern.h:21: // <webstring> ::= "@" <basic-RE> On 2009/11/24 01:18:13, James ...
11 years, 1 month ago (2009-11-24 01:20:07 UTC) #15
Nico
http://codereview.chromium.org/439008/diff/2003/2004 File chrome/browser/autofill/pattern.h (right): http://codereview.chromium.org/439008/diff/2003/2004#newcode21 chrome/browser/autofill/pattern.h:21: // <webstring> ::= "@" <basic-RE> On 2009/11/24 01:20:07, Nico ...
11 years, 1 month ago (2009-11-24 01:21:14 UTC) #16
James Hawkins
On 2009/11/24 01:13:21, Nico wrote: > On Mon, Nov 23, 2009 at 5:09 PM, <mailto:jhawkins@chromium.org> ...
11 years, 1 month ago (2009-11-24 01:28:54 UTC) #17
James Hawkins
http://codereview.chromium.org/439008/diff/2003/2004 File chrome/browser/autofill/pattern.h (right): http://codereview.chromium.org/439008/diff/2003/2004#newcode21 chrome/browser/autofill/pattern.h:21: // <webstring> ::= "@" <basic-RE> On 2009/11/24 01:20:07, Nico ...
11 years, 1 month ago (2009-11-24 01:29:06 UTC) #18
James Hawkins
On 2009/11/24 01:29:06, James Hawkins wrote: > > > > Also, as is this allows ...
11 years, 1 month ago (2009-11-24 01:39:27 UTC) #19
Nico
> > Why wouldn't the caller do > > > > Pattern pattern(OrPattern(LiteralPattern("last name"), > ...
11 years, 1 month ago (2009-11-24 01:47:10 UTC) #20
James Hawkins
On 2009/11/24 01:47:10, Nico wrote: > > > Why wouldn't the caller do > > ...
11 years, 1 month ago (2009-11-24 02:08:04 UTC) #21
Nico
Below. Sorry, that mondrian doesn't include comments when hitting "reply" gets me all the time. ...
11 years, 1 month ago (2009-11-24 02:12:26 UTC) #22
viettrungluu
It looks like it might be okay (note the double-hedge), but this is one of ...
11 years, 1 month ago (2009-11-24 03:35:53 UTC) #23
James Hawkins
On 2009/11/24 03:35:53, viettrungluu wrote: > It looks like it might be okay (note the ...
11 years, 1 month ago (2009-11-24 03:39:30 UTC) #24
Scott Hess - ex-Googler
On 2009/11/24 01:28:54, James Hawkins wrote: > On 2009/11/24 01:13:21, Nico wrote: > > On ...
11 years, 1 month ago (2009-11-24 06:12:56 UTC) #25
James Hawkins
11 years ago (2009-12-07 21:17:42 UTC) #26
I've added a WebKit API to access WebCore::RegularExpression, and I'm going to
use that for autofill.  Thanks for the reviews/comments.  Closing this issue.

Powered by Google App Engine
This is Rietveld 408576698