diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-29 13:43:52 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:16 -0300 |
| commit | a945c035ce9e3d5fda81a05f95f3ea1788a19ece (patch) | |
| tree | 54819b03526babd7c184051e104ef598c2143cb3 /src/Macro.zig | |
| parent | 066f25a8cee7f5c63e991a9857667c346c6b75df (diff) | |
| download | pardes-a945c035ce9e3d5fda81a05f95f3ea1788a19ece.tar.gz pardes-a945c035ce9e3d5fda81a05f95f3ea1788a19ece.zip | |
A ^ after | anchors its branch: ^def|^ finds lines starting either way
mvzr takes ^ only at its pattern's start, so in ^def|^ the second branch never matched mid-text. An alternation whose every top-level branch starts with ^ is now compiled as ^(def| ); a mix of anchored and unanchored branches is refused rather than silently wrong.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/Macro.zig')
0 files changed, 0 insertions, 0 deletions
