useRegExp - web automation property

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

Applies to:
Core
  coreObj.useRegExp = booleanValue;
Arguments:
None.
Remarks:
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.
Example:
// 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)
{
	browser.ShowBrowserWindow(browser.SHOW_IN_FOREGROUND);
}
		
See also:
Core | Browser | Element | Frame | Search condition

© 2014 CodeCentrix Software. All rights reserved.