Buffo Posted August 17, 2006 Share Posted August 17, 2006 Hi, i don't see StringRegExp() in the new 3.2.0 anymore. Is this correct? It's not mentioned in the help file and the actual Scite highlighter set doesn't show it, too. How to work with, I need it :"> I hope I am blind Regards, Buffo Link to comment Share on other sites More sharing options...
xcal Posted August 17, 2006 Share Posted August 17, 2006 It's still in there.http://www.autoitscript.com/autoit3/files/...t/undocumented/ How To Ask Questions The Smart Way Link to comment Share on other sites More sharing options...
AceLoc Posted August 17, 2006 Share Posted August 17, 2006 How to work with, I need it blush.gifits all in the helpfile. [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
randallc Posted August 17, 2006 Share Posted August 17, 2006 its all in the helpfile.Not in mine...?Randall ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW Link to comment Share on other sites More sharing options...
AceLoc Posted August 17, 2006 Share Posted August 17, 2006 (edited) Not in mine...? Randallrequires BETA Local $sPattern, $sTest, $vResult, $nFlag $sPattern = InputBox("StringRegExp Sample", "What is the pattern to test?") $sTest = InputBox("StringRegExp Sample", "What is the line to test?") $vResult = StringRegExp($sTest, $sPattern) Select Case @Error = 2 ; Error. The pattern was invalid. $vResult = position in $sPattern where error occurred. Case @Error = 0 if @Extended Then ; Success. Pattern matched. $vResult matches @Extended Else ; Failure. Pattern not matched. $vResult = "" EndIf EndSelect $sPattern = InputBox("StringRegExp Sample", "What is the pattern to test?") $sTest = InputBox("StringRegExp Sample", "What is the line to test?") $nFlag = InputBox("StringRegExp Sample", "What flag to use? 0 - true/false, 1 - single pattern array return, 3 - global pattern array return") $vResult = StringRegExp($sTest, $sPattern, $nFlag) Select Case @Error = 1 ; Error. Flag is bad. $vResult = "" Case @Error = 2 ; Error. The pattern was invalid. $vResult = position in $sPattern where error occurred. Case @Error = 0 if @Extended Then ; Success. Pattern matched. $vResult has the text from the groups or true (1), depending on flag. Else ; Failure. Pattern not matched. $vResult = "" or false (0), depending on flag. EndIf EndSelect Edited August 17, 2006 by aceloc [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
MHz Posted August 17, 2006 Share Posted August 17, 2006 StringRegExp() is undocumented in release version as StringRegExp() is still beta (has bugs). Same with plugins. They will return to the documentation with the next AutoIt Beta as was mentioned by Jon. Link to comment Share on other sites More sharing options...
MHz Posted August 17, 2006 Share Posted August 17, 2006 requires BETAThe last Beta released is history. There exists no current Beta at the moment. Link to comment Share on other sites More sharing options...
AceLoc Posted August 17, 2006 Share Posted August 17, 2006 The last Beta released is history. There exists no current Beta at the moment.every guy/girl thats older then 12 realize that. [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
Valik Posted August 17, 2006 Share Posted August 17, 2006 every guy/girl thats older then 12 realize that.So you are saying you are younger than 12, then? Link to comment Share on other sites More sharing options...
Buffo Posted August 17, 2006 Author Share Posted August 17, 2006 Thx a lot for your replies I thought I have to learn another script-language Regards, Buffo 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