What does the regular expression mean?.

Ask general questions here.
iosman001
Posts: 2
Joined: Sat May 09, 2020 9:16 am

What does the regular expression mean?.

Post by iosman001 » Wed May 13, 2020 4:59 pm

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
Last edited by iosman001 on Fri May 15, 2020 8:42 pm, edited 1 time in total.

ahoisl
Certified Professional
Certified Professional
Posts: 192
Joined: Fri Sep 07, 2007 8:16 am

Re: What does the regular expression mean?.

Post by ahoisl » Thu May 14, 2020 1:19 pm

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