Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » Regular Expressions to matches string 123 - 125(I dont know how to write the values in the parameters field to matches the string 123 - 125)
Regular Expressions to matches string 123 - 125 [message #946311] Tue, 16 October 2012 05:22 Go to next message
Lizzy Liu is currently offline Lizzy LiuFriend
Messages: 10
Registered: August 2012
Junior Member
The string '123 - 125' is exist in the List component, and I use the ub_lst_checkExistenceOfEntry_byValue, the operator is matches, I set the 123 - 125 to the parameter value, but it doesn't match the string. And I also set the parameter values as 123.*125, it also doesn't work. I also tried '123^$-^$125', it also doesn't match the string.
So what should be the correct paramter value for string 123 - 125 , thanks a lot.
Re: Regular Expressions to matches string 123 - 125 [message #946651 is a reply to message #946311] Tue, 16 October 2012 11:22 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi,

I would try putting .* before and after the string just in case there are other (invisible) characters there.

HTH,
Alex
Re: Regular Expressions to matches string 123 - 125 [message #947311 is a reply to message #946651] Wed, 17 October 2012 01:51 Go to previous message
Lizzy Liu is currently offline Lizzy LiuFriend
Messages: 10
Registered: August 2012
Junior Member
It works, Thanks.

The correct parameter value is .*123 - 125.*
Previous Topic:check fails - Actual value returned is wrong
Next Topic:How to capture a alert message in event.
Goto Forum:
  


Current Time: Fri Apr 26 13:03:09 GMT 2024

Powered by FUDForum. Page generated in 0.03739 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top