Expand description
Fast indexed regex search over codebases — core engine.
Walking: WalkBuilder from the ignore crate (ripgrep-class ignore rules).
Re-exports§
Modules§
- storage
- On-disk tables for the trigram index.
Structs§
- Candidate
Info - Pre-computed candidate for efficient batch filtering and search.
- Compiled
Search - Glob
Config - Ignore
Config - Ignore
Sources - Index
- In-memory trigram index backed by memory-mapped storage.
- Index
Builder - Match
- Query
Plan - Search
Filter - Search
Filter Config - Search
Match Flags - Search
Options - Search
Output - Visibility
Config - Walk
- Walk is a recursive directory iterator over file paths in one or more directories.
- Walk
Builder - WalkBuilder builds a recursive directory iterator.
Enums§
- Case
Mode - Corpus
Kind - Error
- Filename
Mode - Hidden
Mode - Output
Emission - Search
Mode - Trigram
Plan - Trigram-based narrowing plan, or fall back to scanning the whole corpus.
Constants§
Functions§
- compile_
pattern - Build a
Regexfor a single pattern. - compile_
search_ pattern - Build a combined
Regexfrom one or more patterns. - extract_
trigrams - Extract overlapping 3-byte windows from
text, handling invalid UTF-8 with lossy replacement. - walk_
file_ paths - Errors