fmgrep
A tool that indexes a large codebase once for repeated regular expression searches.
What does it do?
After indexing a code tree, searches beneath it use the nearest .fmgrep index. You can search for regular expression patterns or select files with AND·OR expressions, then output matching lines from those files. For consecutive searches, you can keep the index on a server. By default, the search rereads files from the actual tree before outputting them, so changes are reflected. Storing full documents in the index also allows searches on a remote server without a checkout.
Key features
- Index a file tree once and search subpaths using the nearest index
- Select files using regular expression patterns and AND·OR expressions
- Output matching lines in the same format as rg
- Keep an index on a server for consecutive searches
- Store full documents in the index to search on a remote server without a checkout