Yes, this is definitely the right thing. Then, you can have full regular expressions _and_ have it use the index to the fullest extent. Sounds perfect -- certainly more powerful than google's stuff. OTOH, I never use glimpse and just use grep when I'm looking for something. And I think I've only once have ever actually needed agrep. What's more, it's doubtful that I would ever use ifile to classify all my files and "browse" for what I'm looking for. In general, search is a much more powerful strategy. > From: Leonid Leibman <http://www.gmail.com/~lleibman> > Date: Fri, 1 Apr 2005 10:52:11 -0500 > > Just to finalize the regular expression/DFA discussion, here are some > limitations and explanations from the webglimpse site: > > ----------------------------------------------------- > > "For example, glimpse `abc.*xyz' will search the index for all files > that contain both `abc' and `xyz', and then search directly for > `abc.*xyz' in those files." > > "The index of glimpse is word based. A pattern that contains more than > one word cannot be found in the index. The way glimpse overcomes this > weakness is by splitting any multi-word pattern into its set of words > and looking for all of them in the index. For example, glimpse `linear > programming' will first consult the index to find all files containing > both linear and programming, and then apply agrep to find the combined > pattern. This is usually an effective solution, but it can be slow for > cases where both words are very common, but their combination is not." > > L