Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » Using Regular Expressions(check that a specific string is not in a text)
Using Regular Expressions [message #1765042] Tue, 06 June 2017 03:50 Go to next message
trung nguyen is currently offline trung nguyenFriend
Messages: 23
Registered: March 2017
Junior Member
Hi

I am trying to use regular expressions for comparing strings. i would like to check string error, Error, or ERROR.. which are not in a text. I have read document about regular expression for jubula but it does not cover this situation. Could you please give me some comment to resolve the problem?

Thanks
Re: Using Regular Expressions [message #1765908 is a reply to message #1765042] Wed, 14 June 2017 12:53 Go to previous message
Marvin Mueller is currently offline Marvin MuellerFriend
Messages: 114
Registered: March 2012
Senior Member
negative searches are not easy to do with Regular expressions.
Maybe it is easier to wrap the positive search for Error "(ERROR|error|Error)" into an IF clause and then do Stuff in the do or else clause.

with regards
Marvin Mueller
Previous Topic:Fail to communicate with remote aut
Next Topic:Upgrading Jubula 8.0 Extension to 8.5
Goto Forum:
  


Current Time: Sun Sep 23 12:35:30 GMT 2018

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

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

Back to the top