Regular Expression Multiline Property

The Regular Expression Multiline property is a read-only property that indicates the value of the multiline attribute of an instance of the regular expression object. It determines if Siebel CRM performs a pattern search in multiline mode. The value it returns depends on the attribute:

  • The value m is an attribute of the regular expression. It returns the following value:

    True

  • The value m is not an attribute of the regular expression. It returns the following value:

    False

Format

regexp.multiline

The following example uses the Regular Expression Multiline property:

// Create RegExp instance with multiline attribute.
var pat = /^Begin/m;
//or
var pat = new RegExp("^Begin", "m");
//Then pat.multiline == true.