Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

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

💬 Ask a question or report a problem