Modify

Opened 12 years ago

Closed 12 years ago

#2862 closed Bug (Fixed)

StringRegExp $STR_REGEXPARRAYGLOBALFULLMATCH option regress

Reported by: anonymous Owned by: Jon
Milestone: 3.3.13.19 Component: AutoIt
Version: 3.3.12.0 Severity: None
Keywords: Cc:

Description

In release 3.3.12.0 $STR_REGEXPARRAYGLOBALFULLMATCH work correct, but in 3.3.13.18 always return the last match.

So the 4 example for function do not work.
Or this code demonstrate error:

#include <array.au3>
$data = 'a1,b2,c3,d4'
$out = StringRegExp($data,'\w(\d)',4)
For $i = 0 To UBound($out) - 1
	$match = $out[$i]
	_ArrayDisplay($match)
Next

In 3.3.12.0 arraydisplay:
a1 1
b2 2
c3 3
b4 4

In 3.3.13.18
b4 4
b4 4
b4 4
b4 4

Attachments (0)

Change History (3)

comment:1 by anonymous, 12 years ago

version 3.3.13.6 no bug, 3.3.13.7 - problem appeared in this version

comment:2 by Jon, 12 years ago

Hmm, it's a regression of arrays inside arrays. Nasty.

comment:3 by Jon, 12 years ago

Milestone: 3.3.13.19
Owner: set to Jon
Resolution: Fixed
Status: newclosed

Fixed by revision [11014] in version: 3.3.13.19

Modify Ticket

Action
as closed The owner will remain Jon.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.