kate-deft/docs
Levi Neely 4cdd762bb6 sam: ^/$ are per-line (MultilineOption), matching plan9 regexp(7)
Verified against plan9port: regexp(7) defines ^ as 'beginning of a line'
and $ as 'end of a line', and sam's regexp.c BOL (p==0 || prev=='\\n') /
EOL (next char '\\n') confirm per-line anchoring. The engine was matching
with buffer-wide anchors, so ,s/^/> /g only touched the first line and the
sam idiom ,x/.+/ s/^/> / failed to prefix each line.

Fix: compile every pattern with QRegularExpression::MultilineOption. '.'
still does not cross newlines (sam-faithful; PCRE default). Add 3 regression
tests (caretIsPerLine, dollarIsPerLine, samAnchorIdiom); 30/30 engine tests.

Docs: correct docs/SAM.md — ^/$ per-line is faithful, not a deviation;
reframe PCRE extras as an escape hatch (prefer structural composition), not
'free upgrades'. Fix the panel hint and PLAN.md accordingly.
2026-10-08 14:29:19 +02:00
..
PERF.md Perf: parallelize the full-N palette scan across the thread pool 2026-10-08 11:38:32 +02:00
PLAN.md sam: ^/$ are per-line (MultilineOption), matching plan9 regexp(7) 2026-10-08 14:29:19 +02:00
SAM.md sam: ^/$ are per-line (MultilineOption), matching plan9 regexp(7) 2026-10-08 14:29:19 +02:00
radials.example.json Radial: cleaner split labels + warp cursor into the created pane 2026-10-08 12:27:07 +02:00