Skip to content
Fast, indexed regexp search over large file trees
Branch: master
Clone or download
rsc regexp: don't loop forever on >1MB lines
This can happen especially with cgrep, which isn't filtering
for likely-text inputs.

Matches will be chopped into 1MB chunks but oh well.

While we're here, make sure we print \n even for matches
at the end of a file without a trailing newline.

Fixes #49.
Latest commit 4fe90b5 Dec 20, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd codesearch: excise code.google.com Jun 17, 2015
index index: fix bug in siftUp (#47) Dec 20, 2018
lib
regexp regexp: don't loop forever on >1MB lines Dec 20, 2018
sparse initial code Dec 23, 2011
AUTHORS
CONTRIBUTORS
LICENSE
README

README

Code Search is a tool for indexing and then performing
regular expression searches over large bodies of source code.
It is a set of command-line programs written in Go.

For background and an overview of the commands,
see http://swtch.com/~rsc/regexp/regexp4.html.

To install:

	go get github.com/google/codesearch/cmd/...

Use "go get -u" to update an existing installation.

Russ Cox
rsc@swtch.com
June 2015
You can’t perform that action at this time.