diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-30 11:50:52 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:17 -0300 |
| commit | 7c329baddb0d45ce7937cf29941dde861f9ea27f (patch) | |
| tree | 76919df40dbaccf6cd148dcbf2f46efc508df76c /src/Macro.zig | |
| parent | fc8e1abf361ab2151109e68e5c88a0ed45650b38 (diff) | |
| download | pardes-7c329baddb0d45ce7937cf29941dde861f9ea27f.tar.gz pardes-7c329baddb0d45ce7937cf29941dde861f9ea27f.zip | |
A pattern anchoring some alternatives with ^ and not others is refused with why, not a bare bad regular expression
`^def|x` and `foo$|^zèbre` were refused with a bare "bad regular expression",
the same words as a syntax error, so a script could not tell what to change.
They now say "an alternation anchors every branch with ^ or none (^a|^b, not
^a|b)", through addr and Edit alike. fs.md states the rule and that a `$`
does not count toward it (`foo$|bar` is fine).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/Macro.zig')
0 files changed, 0 insertions, 0 deletions
