Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items

RegExMBS.Study as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Regular Expressions MBS Tools Plugin 6.2 Yes Yes Yes Yes No
Function: After you compiled a pattern study can optimize it.
Notes:
Only useful if you use Execute several times.
In that case you call one time Compile, one time Study and several times Execute.
Errormessage is set.

Feedback, Comments & Corrections

RegExMBS.Substring(index as Integer) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Regular Expressions MBS Tools Plugin 6.2 Yes Yes Yes Yes No
Function: Returns the subexpression found with the given index.
Notes:
Returns "" on any error.
Lasterror is set.

See also:

Feedback, Comments & Corrections

RegExMBS.Substring(name as string) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Regular Expressions MBS Tools Plugin 6.2 Yes Yes Yes Yes No
Function: Returns the subexpression found with the given name.
Notes:
Returns "" on any error.
Lasterror is set.

See also:

Feedback, Comments & Corrections

RegExMBS.Unescape(text as string) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Regular Expressions MBS Tools Plugin 15.1 Yes Yes Yes Yes No
Function: Unescapes the string.
Example:
dim r as new RegExMBS

dim s as string = "Hello []"
dim e as string = r.Escape(s)
MsgBox e // shows Hello \[\]

dim d as string = r.Unescape(e)
MsgBox d // shows original string
Notes:
The string is converted to UTF8 and all the RegEx special characters are escaped.
Returns "" on low memory.

Feedback, Comments & Corrections

RegExMBS.Version as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Regular Expressions MBS Tools Plugin 6.2 Yes Yes Yes Yes No
Function: The version of the PCRE library as an ASCII string.

Feedback, Comments & Corrections

Previous items

The items on this page are in the following plugins: MBS Tools Plugin.




Links
MBS FileMaker blog