Code: Select all
sMatches := []
Loop, %standardCount% {
if RegExMatch(standard[A_Index], rxStrg)
sMatches.Push(standard[A_Index])
}
standard[1] is "case"
rxStrg is ^[c,][a;][sl][ei]
But "case" is not appended to the new array sMatches as I wanted.
My syntax must be wrong but I haven't been able to find the error. To do with ""s I think but I have experimented with that and no joy so far.