News for hackers. Stuff that matters.
Re:A new search engine by nisa on Monday October 01, 2012 @02:40AM (#4595635)
Google had this for Codesearch: http://swtch.com/~rsc/regexp/regexp4.html
Re:A new search engine by dutchbrit on Monday October 01, 2012 @08:02AM (#4596426)
Already knew this (checked before commenting to make sure they didn't have it and found that out). Although using regex might make it a lot more server intensive - even though, the majority of people wouldn't use it besides "nerds" like us
Re:A new search engine by nisa on Monday October 01, 2012 @11:07AM (#4597406)
I think it would be difficult to calculate a good ranking when using trigrams for regex-search (as in the link). As far as I know besides pagerank you have to rely on a term-based ranking function e.g. bm25 http://en.wikipedia.org/wiki/Okapi_BM25.

Not sure if this is easy doable with trigrams.