Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


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)


Parameter Description Example
RegExRef The reference number for the regular expression returned from RegEx.Compile.
Or a list of reference numbers.


Returns OK or error.


Frees memory for a regular expression.


Free regex:

Set Variable [ $r ; Value: MBS("RegEx.Free"; $RegEx) ]

See also

Release notes

Blog Entries

This function is free to use.

Created 26th October 2014, last changed 26th April 2023

RegEx.Quote - RegEx.ReleaseAll