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

Issue 6162045: code review 6162045: csearch: add -w to allow searching for 'whole words' (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years ago by dgryski
Modified:
13 years, 11 months ago
Reviewers:
rsc
Visibility:
Public.

Description

csearch: add -w to allow searching for 'whole words' This patch adds '-w', similar to grep/ack, which puts word boundary markers ('\b') the start and end of the pattern, if needed. Fixes issue 13.

Patch Set 1 #

Patch Set 2 : diff -r 56b76ffbf8bb https://code.google.com/p/codesearch #

Patch Set 3 : diff -r 56b76ffbf8bb https://code.google.com/p/codesearch #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -3 lines) Patch
M cmd/csearch/csearch.go View 1 4 chunks +26 lines, -3 lines 1 comment Download

Messages

Total messages: 7
dgryski
Hello rsc@golang.org, I'd like you to review this change to https://code.google.com/p/codesearch
14 years ago (2012-05-02 20:42:01 UTC) #1
rsc
I'm not sure how I missed this one. Found it cleaning up my code review ...
13 years, 11 months ago (2012-06-03 04:57:40 UTC) #2
dgryski
On Sun, Jun 3, 2012 at 6:57 AM, <rsc@golang.org> wrote: > I'm not sure how ...
13 years, 11 months ago (2012-06-04 14:10:45 UTC) #3
rsc
How does GNU grep implement -w? I always thought it was \b+pat+\b. Russ
13 years, 11 months ago (2012-06-04 14:41:17 UTC) #4
dgryski
On Mon, Jun 4, 2012 at 4:40 PM, Russ Cox <rsc@golang.org> wrote: > How does ...
13 years, 11 months ago (2012-06-04 15:08:24 UTC) #5
dgryski
On Mon, Jun 4, 2012 at 5:08 PM, Damian Gryski <dgryski@gmail.com> wrote: > On Mon, ...
13 years, 11 months ago (2012-06-05 21:00:31 UTC) #6
dgryski
13 years, 11 months ago (2012-06-06 20:34:38 UTC) #7
*** Abandoned ***
Sign in to reply to this message.

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