Overview
| Comment: | Fix [a6029ee505]: regexp with backreferences could loop forever when a possible empty match failed. Advance the search after a failed range, and try a real iteration before accepting zero iterations in citerdissect(), as in PostgreSQL commit f2c4ffc330. New tests reg-14.32 to 14.36. |
|---|---|
| Timelines: | family | ancestors | descendants | both | regexp-backref-search-loop |
| Files: | files | file ages | folders |
| SHA3-256: |
afdec0627f5a4950beae8d39d70211be |
| User & Date: | serhiy.storchaka on 2026-10-10 19:09:29.989 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-10-10
| ||
| 19:27 | Restore Tom Lane's original comments for the fix of [a6029ee505]. closed check-in: 6b79d40133 user: serhiy.storchaka tags: regexp-backref-search-loop | |
| 19:09 | Fix [a6029ee505]: regexp with backreferences could loop forever when a possible empty match failed. ... check-in: afdec0627f user: serhiy.storchaka tags: regexp-backref-search-loop | |
|
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 [51b80275b9].
[diff]
Modified tests/reg.test
from [6123b75da1]
to [bdff40cc27].
[diff]