Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(169)

Issue 4632052: code review 4632052: exp/regexp/syntax: case-folding in character classes (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 11 months ago by rsc
Modified:
13 years, 10 months ago
Reviewers:
CC:
r, golang-dev
Visibility:
Public.

Description

exp/regexp/syntax: case-folding in character classes Also fix \x{123} parsing.

Patch Set 1 #

Patch Set 2 : diff -r 18e35543f1af https://go.googlecode.com/hg/ #

Total comments: 5

Patch Set 3 : diff -r cb5ad47b6e02 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -39 lines) Patch
M src/pkg/exp/regexp/syntax/parse.go View 1 2 10 chunks +128 lines, -33 lines 0 comments Download
M src/pkg/exp/regexp/syntax/parse_test.go View 1 2 3 chunks +79 lines, -6 lines 0 comments Download

Messages

Total messages: 4
rsc
Hello r (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 10 months ago (2011-06-28 03:12:44 UTC) #1
r
LGTM http://codereview.appspot.com/4632052/diff/2001/src/pkg/exp/regexp/syntax/parse.go File src/pkg/exp/regexp/syntax/parse.go (right): http://codereview.appspot.com/4632052/diff/2001/src/pkg/exp/regexp/syntax/parse.go#newcode84 src/pkg/exp/regexp/syntax/parse.go:84: tmpClass []int // comment please http://codereview.appspot.com/4632052/diff/2001/src/pkg/exp/regexp/syntax/parse.go#newcode1067 src/pkg/exp/regexp/syntax/parse.go:1067: // ...
13 years, 10 months ago (2011-06-28 03:19:32 UTC) #2
rsc
> http://codereview.appspot.com/4632052/diff/2001/src/pkg/exp/regexp/syntax/parse_test.go#newcode67 > src/pkg/exp/regexp/syntax/parse_test.go:67: {"[a]", "cc{0x61}"}, > why don't you use raw strings in most ...
13 years, 10 months ago (2011-06-28 03:23:25 UTC) #3
rsc
13 years, 10 months ago (2011-06-28 03:23:54 UTC) #4
*** Submitted as http://code.google.com/p/go/source/detail?r=698796ea5c3e ***

exp/regexp/syntax: case-folding in character classes

Also fix \x{123} parsing.

R=r
CC=golang-dev
http://codereview.appspot.com/4632052
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b