This patch enables throwing exceptions for invalid backreferences
in the constructor when using the basic, extended, grep, or egrep grammar.
This fixes bug 34297.
Differential D62453
Regex backreference [3/3] Validate backreferences in the constructor. Mordante on May 25 2019, 11:57 AM. Authored by
Details This patch enables throwing exceptions for invalid backreferences This fixes bug 34297.
Diff Detail Event TimelineComment Actions I think you need more diverse tests here.
Comment Actions Fixes the issues found by @zoecarver. Comment Actions Thanks for fixing those issues :) Looking at it more, it looks like the whole patch wasn't applied. Lines 3555 and 3556 were not update based on the diff I downloaded. When was the last time you rebased off master? I will be on IRC for the next few minutes. Otherwise, my IRC bouncer will catch any messages you send me. |
Doesn't this if statement need braces around it?