regular expression is not found in dictionary?
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")
$sentence = "="
Local $find = $regex.execute($sentence)
for $part in $find
MsgBox(0,2,$part.Value = "=")
msgbox(0,4,$test.exists($part)) ;this should be true!
Thanks for any help