AutoHotkey Community

It is currently May 27th, 2012, 8:16 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: regex que again
PostPosted: January 20th, 2012, 6:15 pm 
Offline

Joined: February 14th, 2007, 8:01 pm
Posts: 308
regexmatch suddenly stopped working again

spot=yyyy
foundpos := RegExMatch(spot,"potify|InHouse|Warner Music|Sony|EMI|Norton 360|Freedomatik|Universal Music|Haywire||Promotion|Hot New Music|Norton 360|General Motors|Ford Motors|Subscri|Click To|Click Here|Click For|Starbucks|In house|Premium|Freedomtik|Sunny",m )

Why is foundpos=1 ?
It should be =0

It seems to me anything I plug in for spot will set foundpos=1


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 20th, 2012, 6:27 pm 
Offline

Joined: February 14th, 2007, 8:01 pm
Posts: 308
Though AHK or regex lost its mind, since I am sure I didn't mine.

Found the error || was used of |

THus is was matching anything


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, immunity, migz99, sjc1000 and 63 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group