DeepCopy (Regex function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
 
No edit summary
Line 1: Line 1:
{{Template:Regex:DeepCopy subtitle}}
{{Template:Regex:DeepCopy subtitle}}


This page is [[under construction]].
This method makes a copy of the <var>Regex</var> object.
 
This method is identical to [[Copy (Regex function)|Copy]]. There is no particular reason to explicitly use <var>DeepCopy</var> instead of <var>Copy</var> but <var>DeepCopy</var> is implicitly called when a <var>Regex</var> object is part of an object tree or forest that is being deep-copied. For more information about deep copyability, see [[Copying objects|"Copying objects"]].
==Syntax==
==Syntax==
{{Template:Regex:DeepCopy syntax}}
{{Template:Regex:DeepCopy syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%outRegex</th><td><var>Regex</var> object</td></tr>
<tr><th>%outRegex</th><td>A new <var>Regex</var> object</td></tr>
<tr><th>regex</th>
<tr><th>regex</th>
<td><var>Regex</var> object, which may be <var>Null</var></td></tr>
<td>Regex object, which may be <var>Null</var></td></tr>
</table>
</table>
==Usage notes==
==Examples==
==See also==
==See also==
{{Template:Regex:DeepCopy footer}}
{{Template:Regex:DeepCopy footer}}

Revision as of 22:29, 13 March 2022

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