The RegExMatch statement is not working any way I try it. From my tests, it appears to have a problem with the periods. If I reduce the pattern to just "WindowsForms10", I get a match. However, if the first period and any number of characters to the right of it are included in the pattern, it fails to find a match. As shown, the periods are escaped. Can anyone point out a problem with the syntax and\or the reason I'm not getting a match?
Code: Select all
WinGet, vCtlList, ControlList, Interaction Desktop
Loop, Parse, vCtlList, `n
{
vCtlClassNN := A_LoopField
RegExMatch(vCtlClassNN, "^WindowsForms10.SysListView32\.app\.0\.267e1d0*ad1(1|2)$",sInteractionCtl)
}