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

SyntaxColoring.ScriptSearchBox.SetRegEx

Sets whether script search uses regular expressions.

Component Version macOS Windows Linux Server iOS SDK
SyntaxColoring 13.1 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "SyntaxColoring.ScriptSearchBox.SetRegEx"; Value )   More

Parameters

Parameter Description Example
Value The new setting.
Pass 1 to enable or 0 to disable.
1

Result

Returns OK or error.

Description

Sets whether script search uses regular expressions.
You may enable regular search to use expressions for more detailed searches.

e.g. search for Feld|Field to do an OR search with two terms.
Use $m(.*)x to find variables starting in $m and ending in x.

Examples

Enable search with regular expressions:

Set Variable [ $r ; Value: MBS( "SyntaxColoring.ScriptSearchBox.SetRegEx"; 1 ) ]
Set Variable [ $r ; Value: MBS( "SyntaxColoring.ScriptSearchBox.SetEnabled"; 1 ) ]

See also

Release notes

Blog Entries

This function is free to use.

Created 13th February 2023, last changed 7th May 2023


SyntaxColoring.ScriptSearchBox.SetEnabled - SyntaxColoring.ScriptSearchBox.SetText