getServerModelDelimiters()
Availability
Adobe Dreamweaver MX.
Description
This function returns the script delimiters that the application server uses, and it indicates whether each delimiter can participate in merging code blocks. You can access this returned value from JavaScript by calling the dom.serverModel.getDelimiters() function.
Arguments
None.
Returns
Adobe Dreamweaver expects an array of objects where each object contains the following three properties:
- The
startPatternproperty is a regular expression that matches the opening script delimiter (such as"<%"). - The
endPatternproperty is a regular expression that matches the closing script delimiter (such as"%>"). - The
participateInMergeproperty is a Boolean value that specifies whether the content enclosed in the listed delimiters should (true) or should not (false) participate in block merging.