Modify

Opened 10 years ago

Closed 10 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 Changed 10 years ago by anonymous

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

comment:2 Changed 10 years ago by Jon

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

comment:3 Changed 10 years ago by Jon

  • Milestone set to 3.3.13.19
  • Owner set to Jon
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [11014] in version: 3.3.13.19

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain Jon.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.