Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Siebel eScript Commands > RegExp Object PropertiesThe Siebel ST and Siebel T eScript engines support the following RegExp Object properties. Throughout this section, regexp is used to represent a RegExp object instance. RegExp global PropertyThis read-only property indicates the value of the global attribute of an instance of the RegExp object. SyntaxUsageThis property has a value of true if "g" is an attribute of the regular expression pattern being used, else its value is false. NOTE: The global attribute of a RegExp instance can be changed with the RegExp compile() method. Example// Create RegExp instance with global attribute. See alsoRegExp ignoreCase PropertyThis read-only property indicates the value of the ignoreCase attribute of an instance of the RegExp object. SyntaxUsageThis property has a value of true if "i" is an attribute of the regular expression pattern being used, else its value is false. NOTE: The ignoreCase attribute of a RegExp instance can be changed with the RegExp compile() method. Example// Create RegExp instance with ignoreCase attribute. See alsoRegExp multiline PropertyThis read-only property indicates the value of the multiline attribute of an instance of the RegExp object. SyntaxUsageThis property has a value of true if "m" is an attribute of the regular expression pattern being used, else its value is false. The multiline property determines whether a pattern search is done in a multiline mode. NOTE: The multiline attribute of a RegExp instance can be changed with the RegExp compile() method. Example// Create RegExp instance with multiline attribute. See alsoRegExp source PropertyThis read-only property stores the regular expression pattern being used to find matches in a string, not including the attributes. SyntaxUsageThis read-only property stores the regular expression pattern being used to find matches in a string, not including the attributes. NOTE: The source attribute of a RegExp instance can be changed with the RegExp compile() method. Examplevar pat = /t.o/g; See also |
Siebel eScript Language Reference |