Forum Discussion
Phil_M
11 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_michaud
Staff
11 years agoI must confess that I don't see it. For me, 'strGuest\w' finds "strGuestP" and 'strGuest\W' finds "strGuest " in both versions of TestComplete.