<i>regexp sometimes allows an invalid backref to be matched</i> status still Open with 4 other changes
by
.
D 2026-10-10T19:29:32.693
J foundin 8.6.18,\s9.0.5,\s9.1.0
J icomment Still\sthe\ssame\sin\s8.6,\s9.0\sand\s9.1.\sWhen\sthe\sright\sside\sof\sa\sconcatenation\sfailed,\s<tt>ccondissect()</tt>\sand\s<tt>crevcondissect()</tt>\sleft\sthe\scaptures\sof\sthe\sleft\sside\sset,\sso\sthe\snext\salternative's\sbackref\ssaw\sthem.\n\nProposed\sfix\sin\sbranch\s[/timeline?r=regexp-backref-failed-alt|regexp-backref-failed-alt]:\syour\sPostgreSQL\schange,\swhich\sclears\sthe\sleft\sside's\scaptures\swhen\sthe\sright\sside\sfails\sand\sdefines\sthe\scdissect()\srules\sfor\sclearing\smatch\sdata.\sTests\sreg-14.30\sand\s14.31\s(your\sexamples).
J login serhiy.storchaka
J mimetype text/x-fossil-wiki
K 75c9d9cece5612408603f4e56773f55ada24b2d7
U serhiy.storchaka
Z 9fdddfe227b5e7d174b91b9781fec1bf