Can someone please say me what i'm missing here?
this little problem is driving me crazy!
i feel so stupid that i have to ask this but why does this script thinks that "=" doesn't exist inside the dictionary?
$regex = ObjCreate("VBScript.RegExp")
$regex.Pattern = "="
$regex.Global = True
$regex.IgnoreCase = True
$test = ObjCreate("scripting.dictionary")
$test.add("=", 2)
$sentence = "="
Local $find = $regex.execute($sentence)
for $part in $find
msgbox(0,1,$part.Value)
MsgBox(0,2,$part.Value = "=")
MsgBox(0,3,$test.exists("="))
msgbox(0,4,$test.exists($part)) ;this should be true!
next
Thanks for any help
TheAutomator.