Overview
| Comment: | Fix [524b35a8b5]: a {1,1} quantifier was always dropped as vacuous, so {1,1}? could not make a greedy atom non-greedy (and {1,1} a non-greedy one greedy). Keep it when it asks for a different preference than the atom has. Patch by Tom Lane. New tests reg-25.4 to 25.9. |
|---|---|
| Timelines: | family | ancestors | descendants | both | regexp-1-1-quantifier-preference |
| Files: | files | file ages | folders |
| SHA3-256: |
98ef5206beef637ef47ee5b055baeb54 |
| User & Date: | serhiy.storchaka on 2026-10-10 18:17:28.239 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-10-14
| ||
| 11:54 | Fix [524b35]: a {1,1} quantifier was always dropped as vacuous check-in: b0b515295b user: jan.nijtmans tags: trunk, main | |
|
2026-10-10
| ||
| 18:17 | Fix [524b35a8b5]: a {1,1} quantifier was always dropped as vacuous, so {1,1}? could not make a greed... closed check-in: 98ef5206be user: serhiy.storchaka tags: regexp-1-1-quantifier-preference | |
|
2026-10-08
| ||
| 09:29 | merge: gahr-dual-stack-tests check-in: e55edf971f user: gahr tags: trunk, main | |
Changes
Modified generic/regcomp.c
from [2fc78dac72]
to [b99460f19a].
[diff]
Modified tests/reg.test
from [6123b75da1]
to [d084139f3c].
[diff]