Platforms to show: All Mac Windows Linux Cross-Platform

Back to RegExMBS class.

Previous items

RegExMBS.Substring(index as Integer) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Regular Expressions MBS RegEx Plugin 6.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the subexpression found with the given index.

Returns "" on any error.
Lasterror is set.

See also:

RegExMBS.Substring(name as string) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Regular Expressions MBS RegEx Plugin 6.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the subexpression found with the given name.

Returns "" on any error.
Lasterror is set.

See also:

RegExMBS.Unescape(text as string) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Regular Expressions MBS RegEx Plugin 15.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
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

The string is converted to UTF8 and all the RegEx special characters are escaped.
Returns "" on low memory.

RegExMBS.Version as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Regular Expressions MBS RegEx Plugin 6.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The version of the PCRE library as an ASCII string.

Previous items

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


The biggest plugin in space...