kate-deft/docs
Levi Neely 997055f0b5 docs(sam): document PCRE deviations + implications for katesam usage
Add docs/SAM.md — a user-facing reference for the regex deviation, with
examples verified against the engine:
  - leftmost-greedy (PCRE) vs leftmost-longest (sam): diverges only on
    overlapping alternation (a|ab); order alternatives longest-first.
  - ^/$ anchor buffer-wide, not per-line, by default. Workarounds:
    structural ,x/.+/ … (preferred) or the (?m) inline flag.
  - identical behaviour table (. and newlines, empty-match advance, &/\N).
  - PCRE bonuses sam lacks: \d \w \b, lookahead, non-greedy, (?i)(?m)(?s).

Cross-link from PLAN.md and surface the two biggest gotchas (buffer-wide
anchors, alternation order) directly in the Sam panel hint label.
2026-10-08 14:03:55 +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 docs(sam): document PCRE deviations + implications for katesam usage 2026-10-08 14:03:55 +02:00
SAM.md docs(sam): document PCRE deviations + implications for katesam usage 2026-10-08 14:03:55 +02:00
radials.example.json Radial: cleaner split labels + warp cursor into the created pane 2026-10-08 12:27:07 +02:00