I'm trying to create a list of all occurrences of variables in an Autoit file. Unfortunately, my regex skills suck badly.
I found a snippet elsewhere here, which at first glance, works pretty well...
$aArray = StringRegExp($varFileContents, "(\$\w{1,50})(?:\s|\[)", 3)
...but doesn't grab variables in situations like this:
_ArraySort($aBefore)
or
_ArrayDelete($aSkills, 0)
Appreciate any help. Here's the code so far:
#include <Array.au3>
; Select file
While 1
$filename = Fi