News for hackers. Stuff that matters.
Re:Searchcode: A source code search engine by JoshTriplett on Wednesday June 25, 2014 @10:21PM (#7947839)
As a first pass, a "match whole words" checkbox should suffice. Eventually you might want a syntax that allows more flexibility, whether full regexes or something more scalable, but "match whole words" would solve a large fraction of the problem. (You might even want to make that the default, and have a checkbox for "match partial words" instead; for code search, I'd bet that most of the time you want the whole word matches.)
Re:Searchcode: A source code search engine by boyter on Thursday June 26, 2014 @07:50AM (#7949122)
That sounds reasonable. I will probably go with that. Added to the queue and thanks for the feedback.