Modify ↓
Opened 12 years ago
Last modified 2 years ago
#2628 assigned Feature Request
Add mode to StringRegExp
| Reported by: | asdf8 | Owned by: | Jon |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
I propose add an additional mode to function StringRegExp - to allow for cases where the function returns an array (flag = 1, 2 or 3) can be obtained at the output of the function two-dimensional array, the second column which contains the position of the found text to the original string.
Attachments (0)
Change History (3)
comment:1 by , 11 years ago
comment:2 by , 5 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
Hi,
Flag = 1 and 2 already return the offset after the capture group
for 3,4 it is better the user can use the return offset in @rxtended and loop with it if needed
that what is done in the propose fix sent to Jon
comment:3 by , 2 years ago
| Owner: | changed from to |
|---|
Note:
See TracTickets
for help on using tickets.

Very good idea, or at least set @extended for flag 3, then we could calculate the position of each match in a loop (with StringLen).