Need to get additional information about your RegExMatch? Why not return a AutoHotkey Regular Expressions match object? Having your data returned in an object allows for some great information like: Length, location, name of subpattern, etc. With AHK you can use the O) option to store the matches into an AutoHotkey object. The below video walks through how to do it and gives you a clear example how to access it once it is created.
Create and access an AutoHotkey Regular Expressions match object
Here is the code demonstrated in the video