summaryrefslogtreecommitdiff
path: root/src/addon_test.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-08 22:07:12 -0300
committerGabriel Schneider <[email protected]>2026-11-08 22:07:27 -0300
commit3e136122ecdc674e611016f5936b73bef3d26b01 (patch)
tree2f1efbb4d6e51658865b991fd7c7ee005e675e5f /src/addon_test.zig
parentd01ae88463261cc721f7338ef383c9265ac7071d (diff)
downloadpardes-3e136122ecdc674e611016f5936b73bef3d26b01.tar.gz
pardes-3e136122ecdc674e611016f5936b73bef3d26b01.zip
helix: %S\s+ keeping the line's newline in its last piece is a documented pardes choice, waived in words: helix's split_on_matches (helix-core/src/selection.rs:852-880) runs the Rust regex over the whole range, whose \s matches the newline at 14, so the last piece ends at 13, where pardes searches as sam does, line by line (reference.typ, Regular expressions; src/regexp.zig), and \s never reaches a newline unless the pattern names \n (S\s+|\n gives helix's pieces, checked against hx-harness); waivers.jsonl names split-regex-ws and split-regex-ws-tty (hxdiff 2 to 0), reference.typ adds \s to what never matches a newline, and helix-keys.md has its row
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/addon_test.zig')
0 files changed, 0 insertions, 0 deletions