useRegExp - web automation property

Not available in Open Twebst edition!
Enables or disables the use of regular expressions in Search conditions.

Applies to:
  coreObj.useRegExp = booleanValue;
booleanValue is an expression evaluated to true or false.
If booleanValue is true then regular expressions are used in Search conditions, otherwise they are not. The default value of this web automation property is false (by default regular expressions are not used). The property affects all web automation methods that take Search conditions as parameters.
// Find a browser that loaded a web page from the codecentrix domain.
var coreObj       = new ActiveXObject("Twebst.Core");
coreObj.useRegExp = true;
var browser       = coreObj.FindBrowser("url=codecentrix");
if (browser != null)
See also:
Core | Browser | Element | Frame | Search condition

© 2014 CodeCentrix Software. All rights reserved.