DeepCopy (Regex function)

From m204wiki
Revision as of 22:29, 13 March 2022 by Alex (talk | contribs)
Jump to navigation Jump to search

Return a deep copy of a Regex object (Regex class)


This method makes a copy of the Regex object.

This method is identical to Copy. There is no particular reason to explicitly use DeepCopy instead of Copy but DeepCopy is implicitly called when a Regex object is part of an object tree or forest that is being deep-copied. For more information about deep copyability, see "Copying objects".

Syntax

%outRegex = regex:DeepCopy

Syntax terms

%outRegexA new Regex object
regex Regex object, which may be Null

See also