Sign in to follow this  
Followers 0
Hawkwing

How to match a group multiple times with SRE

3 posts in this topic

I know it should be obvious, but I just can't figure out how. I'm sure once someone tells me I'll go to the nearest wall and start banging my head against it.


The Wheel of Time turns, and Ages come and pass, leaving memories that become legend. Legend fades to myth, and even myth is long forgotten when the Age that gave it birth comes again.

Share this post


Link to post
Share on other sites



If you're trying to find multiple matches and return each individual match into an array, then use 3 as the 3rd parameter.

If you're just trying to capture group characters to catch them all in "groups", then use the "plus" (+) after the group.


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Thanks, I just needed to set the third parameter to 3 instead of 1. I just didn't understand what it meant by "an array of global matches".

Edited by Hawkwing

The Wheel of Time turns, and Ages come and pass, leaving memories that become legend. Legend fades to myth, and even myth is long forgotten when the Age that gave it birth comes again.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0