News for hackers. Stuff that matters.
Re:Ask HN: Is there a search engine which understands regula... by pmjordan on Tuesday July 05, 2011 @02:46PM (#2731032)
I suspect it's not that easy to graft them onto existing search engines efficiently. I don't know what sort of data structure search engines usually use, but in order to support regexes efficiently they would almost certainly have to be a prefix tree of some sort.
Re:Ask HN: Is there a search engine which understands regula... by gnosis on Tuesday July 05, 2011 @03:05PM (#2731110)
http://www.google.com/codesearch allows them, so it is doable.

It may not be efficient for larger datasets and large numbers of users, but that need not be a problem for the search engine owners, as they could just take their sweet time in returning results.

Re:Ask HN: Is there a search engine which understands regula... by pmjordan on Tuesday July 05, 2011 @04:19PM (#2731385)
It still costs them CPU/IO time and thus represents a possible DoS vector.