Forum Discussion
joseph_michaud
9 years agoModerator
Can you provide a (script) example of the call you're making?
- Phil_M9 years agoNew Contributor
If you had the following script:
var strGuest = "Name";
var strGuestPassword = "My name is guest";
If you try to do a Find (from menu "Edit > Find" or keyboard "Ctrl + F") and enable regular expressions and match case, "strGuest\w" will find "strGuestPassword" instead of "strGuestP". If you search for "strGuest\W", it will find nothing instead of "strGuest ".
- joseph_michaud9 years agoModerator
I must confess that I don't see it. For me, 'strGuest\w' finds "strGuestP" and 'strGuest\W' finds "strGuest " in both versions of TestComplete.