Ticket UUID: | 3d40c2da8175daba83ef373c8b8d9e147744fe4c | |||
Title: | regexp (?:a*b)+c indices wrong | |||
Type: | Bug | Version: | ||
Submitter: | pooryorick | Created on: | 2019-11-23 21:08:29 | |
Subsystem: | 43. Regexp | Assigned To: | nobody | |
Priority: | 5 Medium | Severity: | Important | |
Status: | Closed | Last Modified: | 2019-11-24 15:25:35 | |
Resolution: | Invalid | Closed By: | sebres | |
Closed on: | 2019-11-24 15:25:35 | |||
Description: |
In the following example, the resulting indices are wrong:
The correct result should be:
| |||
User Comments: |
sebres added on 2019-11-24 15:25:35:
No. Although the sub-expression traverses over all So the result Note that How the iterations for first subexpression look, illustrating this example: % regexp -all -indices -inline {a*b} aaaabbbbcc {0 4} {5 5} {6 6} {7 7} |
