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.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

QuickList.RegExMatch

Matches a list against a pattern.

Component Version macOS Windows Linux Server iOS SDK
List 4.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "QuickList.RegExMatch"; ListRef; Pattern; CompilerOptions; ExecuteOptions { ; ReturnNewList } )   More

Parameters

Parameter Description Example Flags
ListRef The reference to the list returned from QuickList.New function. $List
Pattern The pattern to use. "H(.*)"
CompilerOptions A number for the options to use. e.g. 1 for case insensitive or 512 for ungreedy. 512+1
ExecuteOptions The options for executing. 0
ReturnNewList Pass 1 to return result as new QuickList. This new list must be freed later using QuickList.Free function. Pass 0 (Default) to modify the list in the List1 parameter. 0 Optional

Result

Returns list or error.

Description

Matches a list against a pattern.
This compiles the pattern, executes it and looks if we have a match or not for each list item.
Returns the list items which match.

See also

Blog Entries

This function checks for a license.

Created 2nd November 2014, last changed 8th November 2014


QuickList.Push - QuickList.Remove

💬 Ask a question or report a problem