Overview
| Artifact ID: | a8073aaeefd3de18e449bae4c116bdb80e95a5be937c950a62a933dc5d467680 |
|---|---|
| Ticket: | 219358ffffffffffffffffffffffffffffffffff
More info on the greedy/non-greedy problem (ticket 2866) |
| User & Date: | serhiy.storchaka on 2026-10-11 10:49:37 |
Changes
- icomment:
Both results follow re_syntax(n) MATCHING. The first quantified atom sets only the length of the whole match. Within that match, each subexpression takes the longest or shortest substring according to its own quantifier, earlier ones first, which is why the second RE looks "mixed". The docs are clarified in branch [/timeline?r=doc-re-syntax-preference|doc-re-syntax-preference]. Duplicate of [219219ffff].
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"