Analysis updated 2026-07-30 · repo last pushed 2025-02-05
Search for text patterns in a code editor that stores document content in pieces rather than one block.
Run regular expressions across very large documents without copying everything into a single buffer.
Search through text stored in a tree or segmented data structure using the standard Rust regex engine.
| helix-editor/regex-cursor | zyphrzero/kiro.rs | pandorafuture/wx-cli | |
|---|---|---|---|
| Stars | 47 | 47 | 46 |
| Language | Rust | Rust | Rust |
| Last pushed | 2025-02-05 | — | — |
| Maintenance | Stale | — | — |
| Setup difficulty | moderate | moderate | hard |
| Complexity | 3/5 | 3/5 | 4/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires familiarity with Rust and integrating the regex-cursor cursor interface into your existing chunked text data structure.
regex-cursor is a Rust library that lets you search for text patterns (regular expressions) across data that arrives in chunks rather than one continuous string. It was built for the Helix text editor, where the underlying text representation stores content in pieces rather than as a single block. Most regex tools assume you hand them a complete string. But text editors and similar applications often work with data structures that keep text in multiple segments. This project adapts the standard Rust regex engine to handle that chunked structure through a "cursor" interface that moves forward through chunks and can backtrack when needed. The practical use case is a code editor searching through a document that might be too large to hold in memory as one piece, or a tool working with text stored in a tree structure. Rather than copying everything into a single buffer just to run a search, you can search directly across the segmented data. One notable limitation: the backtracking requirement means this approach doesn't work for truly streaming scenarios like network data arriving in real time. The README discusses that most regex functionality needs to look backward at previous chunks, which requires buffering. Fully unbuffered streams like TCP connections would need a different approach, and the project documents why that's hard. The project is explicitly a prototype aimed at eventually adding streaming regex support to the upstream Rust regex ecosystem. The author notes that regex backtracks more than expected, which constrains what's possible for fully streaming searches.
A Rust library for running regular expression searches across text stored in multiple chunks instead of one continuous string, built for the Helix text editor.
Mainly Rust. The stack also includes Rust, Rust regex engine, Helix.
Stale — no commits in 1-2 years (last push 2025-02-05).
No license information provided in the explanation, so terms of use are unclear.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.