PrePAN

Sign in to PrePAN

Code::Search Search code for strings

Author
benkasminbullock@github
Date
URL
Status
In Review
Good

Synopsis

use Code::Search;
my $searcher = Code::Search->new (index => "index", ...);
$searcher->index (@files);
$searcher->search ($string);

Description

Search source code for strings.

Trigram index of medium number (40,000 or so) source code files.

Already have developed code but it is not in a state fit to release, and it is all in C except for a few scripts.

Comments

This seems like it should apply to generic text. Why make this specific to source code?
@automatonical@twitter It's not specific to source code. The code I have is exact-match.
The choice of module name plus the description indicates it's specific to source code. If it's not, I'd change both.
Thanks for the name suggestions.

Please sign up to post a review.