| Ticket UUID: | 3d40c2da8175daba83ef373c8b8d9e147744fe4c | ||
| Title: | regexp (?:a*b)+c indices wrong | ||
| Type: | Bug | Created on: | 2019-11-23 21:08:29 |
| Submitter: | pooryorick | Assigned to: | nobody |
| Subsystem: | 43. Regexp | Severity: | Important |
| Priority: | 5 Medium | Last modified: | 2019-11-24 15:25:35 |
| Status: | Closed | Closed by: | sebres |
| Resolution: | Invalid | Closed on: | 2019-11-24 15:25:35 |
| Version: | |||
| 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}
| ||||
