Overview
| Comment: | Fix [75c9d9cece]: a backreference could match a capture left over from a failed alternative. Clear the left side's captures when the right side of a concatenation fails, and document the cdissect() rules, as in PostgreSQL. New tests reg-14.30, 14.31. |
|---|---|
| Timelines: | family | ancestors | descendants | both | regexp-backref-failed-alt |
| Files: | files | file ages | folders |
| SHA3-256: |
edfdd1cc8d85af106ed7453bc364301a |
| User & Date: | serhiy.storchaka on 2026-10-10 19:09:23.307 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-10-10
| ||
| 19:25 | Match Tom Lane's patch for [75c9d9cece] fully: clear the match data once in exec() instead of before... closed check-in: dc136f42c0 user: serhiy.storchaka tags: regexp-backref-failed-alt | |
| 19:09 | Fix [75c9d9cece]: a backreference could match a capture left over from a failed alternative. Clear t... check-in: edfdd1cc8d user: serhiy.storchaka tags: regexp-backref-failed-alt | |
|
2026-10-08
| ||
| 09:29 | merge: gahr-dual-stack-tests check-in: e55edf971f user: gahr tags: trunk, main | |
Changes
Modified generic/regexec.c
from [200c720b34]
to [d274bd388e].
[diff]
Modified tests/reg.test
from [6123b75da1]
to [8378551bcc].
[diff]