Thanks Ravi, it worked! But I’m having another problem right now… the RegExp1 and RegExp2 could appear in any order in the links… I guess the sentence you sent me only works if regExp1 ocurrence is Before regExp2 right?

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ravishankar, MG
Sent: Jueves, 06 de Julio de 2006 11:56 a.m.
To: [email protected]
Subject: Re: [Wtr-general] [question] Finding a Link with 2 regularexpressions?

 

 

If browser.link(:url, /#{regExp1}.*#{regExp2}/).exists? == true then

[…]

 

should work!

 

-MG

 


 

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to