Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
RegEx.Release
Frees memory for a regular expression.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
RegEx | 4.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "RegEx.Release"; RegExRef ) More
(old name: RegEx.Free)
Parameters
Parameter | Description | Example |
---|---|---|
RegExRef | The reference number for the regular expression returned from RegEx.Compile. Or a list of reference numbers. |
$regex |
Result
Returns OK or error.
Description
Frees memory for a regular expression.Examples
Free regex:
Set Variable [ $r ; Value: MBS("RegEx.Free"; $RegEx) ]
See also
- RegEx.CaptureCount
- RegEx.Compile
- RegEx.FindMatches
- RegEx.NameCount
- RegEx.NamedSubstring
- RegEx.Pattern
- RegEx.ReleaseAll
- RegEx.Replace
- RegEx.Results
- RegEx.Substring
Release notes
- Version 13.2
- Added RegEx.Release and RegEx.ReleaseAll functions.
Blog Entries
This function is free to use.
Created 26th October 2014, last changed 26th April 2023