hgeras Posted December 14, 2007 Share Posted December 14, 2007 Well it has been some time since i used autoit. Im running the latest official release (not BETA) and windows Vista. I run this simple test code : #include <INet.au3> $temp = _INetGetSource('www.autoitscript.com') $array = StringRegExp($temp,'href(.*?)>',1) MsgBox(0,"",ubound($array)) Well if you check the source code yourself you will see that this pattern exists quite many times in there. But the result i get is always 1 which means it stops on first occurence. I have also tried '(?i)href(.*?)(?i)>' at search pattern but no luck. First time with this command but either something is wrong or im completely idiot. PS i have executed the example code of StringRegExp and the result is the same . Although ubound should show 3 it is 1 again. Any ideas? Useful information about COM/Objects referenceMy Scripts:PapDefragNvidia Temperature Logger V3.0 with graph analyzerAutoiIt Update Checker And Downloader V1.0ArrayPush UDF Link to comment Share on other sites More sharing options...
Nahuel Posted December 14, 2007 Share Posted December 14, 2007 $array = StringRegExp($temp,'href(.*?)>',3) Link to comment Share on other sites More sharing options...
Kerros Posted December 14, 2007 Share Posted December 14, 2007 (edited) Try $array = StringRegExp($temp,'href(.*?)>',3) Edit: grr... Too slow Edited December 14, 2007 by Kerros Kerros===============================================================How to learn scripting: Figure out enough to be dangerous, then ask for assistance. Link to comment Share on other sites More sharing options...
hgeras Posted December 14, 2007 Author Share Posted December 14, 2007 Well although i cant really get the difference from the description of help file i dub me the complete idiot Thx for the fast responses both. Useful information about COM/Objects referenceMy Scripts:PapDefragNvidia Temperature Logger V3.0 with graph analyzerAutoiIt Update Checker And Downloader V1.0ArrayPush UDF Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now