Hi Tanya,
Is this type of regex supported by the aqObject.CompareProperty method?
I tried
(?=.*project)(?=.*successfully).*
instead of previously used
(project)|(successfully).*(project)|(successfully)
and CompareProperty() failed to match with the
Project saved successfully
string.
Sample code (executed in the Evaluate dialog):
aqObject.CompareProperty("Project saved successfully", BuiltIn.cmpMatches, "(?=.*project)(?=.*successfully).*", False, BuiltIn.lmNone)
returns False instead of expected True
Been able to use this type of regex with CompareProperty and the like methods would be of great convenience, so I really hope that it was me who did something incorrect.
Could you please comment?