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: 9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5   10.6    Statistic    FMM    Blog  

RegEx.Pattern

Queries the pattern used to compile this regular expression.

Component Version macOS Windows Linux Server FileMaker iOS SDK
RegEx 4.4 Yes Yes Yes Yes Yes
MBS( "RegEx.Pattern"; RegExRef )   More

Parameters

Parameter Description Example
RegExRef The reference number for the regular expression returned from RegEx.Compile. $regex

Result

Returns OK or error.

Description

Queries the pattern used to compile this regular expression.

Examples

Query pattern:

Set Variable [ $Pattern ; Value: "H(.*)o (.)or(..)" ]
Set Variable [ $Regex ; Value: MBS("RegEx.Compile"; $Pattern; "CaseLess") ]
Show Custom Dialog [ "Pattern used" ; MBS( "RegEx.Pattern"; $RegEx ) ]
Set Variable [ $r ; Value: MBS("RegEx.Free"; $RegEx) ]

See also

Created 26th October 2014, last changed 25th November 2017


RegEx.Options   -   RegEx.Quote

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins

Start Chat