Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20755

regular expressions in property checkpoint

$
0
0

Hi everybody,

 

I have an issue with regular expression in property checkpoints.

I want to compare a string. In this string there's the current daytime. So to compare this string I need to substitute the daytime with a regular expression. Here's my string:

 

18:23:45 - test123

 

This is my regular expression to compare the string:

 

\d\d:\d\d:\d\d - test123

 

So, this works just fine! My problem is, when I try to compare a string with two or more lines, like this:

 

18:23:45 - test123

18:23:52 - test456

 

 

This expression won't work in TestComplete:

 

\d\d:\d\d:\d\d - test123

\d\d:\d\d:\d\d - test456

 

I just don't know why this won't work. any ideas?

Thanks!

 


Viewing all articles
Browse latest Browse all 20755

Trending Articles