Page 1 of 1

What does the regular expression mean?.

Posted: Wed May 13, 2020 4:59 pm
by iosman001
Hello,

I use Ranorex Spy to view applications , my application's path is

Base:/form[@title~'xxxx\AAAA\and\BBBB']

In regular expression ,to represent a blank space , by \s or \S.
Single char \ means changing its meaning.
I don't know what dows \ mean in Ranorex path here?
krogerfeedback talktosonic talktowendys
Are there some diffriences between standard regular expression and Ranorex regular expression?
BTW all attributes represented in path are in Ranorex Spy, right?

thanks
iosman

Re: What does the regular expression mean?.

Posted: Thu May 14, 2020 1:19 pm
by ahoisl
Are you sure you copied the RanoreXPath correctly? Usually, Ranorex only adds backslashes in regular expressions to signal a white spaces.
I.e. "Ranorex Studio" will be the regex "Ranorex\ Studio".
And in newer versions it also uses the StartsWith '>' operator rather than regular expressions.

Regards,
Alex
Ranorex Team