@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
14 lines • 873 B
TypeScript
import { type CompiledLineMatcher, type LineMatcher } from "./matcher.ts";
/**
* The production {@link LineMatcher}, backed by re2js (a JavaScript port of RE2): automata
* matching without backtracking, so a model-written pattern runs in time linear in the line.
* Patterns compile with no flags; `RE2JS.LOOKBEHINDS` is never set, so lookaround and
* backreferences stay compile errors here as well as in {@link compilePatterns}. re2js reads both
* `(?<name>…)` and `(?P<name>…)`, and reports spans in UTF-16 units, as the port wants.
*/
export declare class Re2LineMatcher implements LineMatcher {
compile(patterns: readonly string[]): CompiledLineMatcher;
}
/** The matcher job widgets run on: linear-time RE2 semantics. Stateless, so one instance is shared. */
export declare const defaultLineMatcher: LineMatcher;
//# sourceMappingURL=re2-matcher.d.ts.map