Platforms to show: All Mac Windows Linux Cross-Platform

Back to PCRE2CodeMBS class.

PCRE2CodeMBS.AllOptions as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Final options after compiling.

(Read only property)

PCRE2CodeMBS.Anchored as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Match only at the first position.

(Read and Write property)

PCRE2CodeMBS.ArgOptions as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Options passed to Compile.

Should be same as Options value in PCRE2CompilerMBS.
(Read only property)

PCRE2CodeMBS.BackRefMax as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Number of highest backreference.

(Read only property)

PCRE2CodeMBS.BSR as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
What \R matches.

kBSRUnicode: Unicode line endings
kBSRanyCRLF: CR, LF, or CRLF only
(Read only property)

PCRE2CodeMBS.CaptureCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Number of capturing subpatterns.
Example

Dim Compiler As New PCRE2CompilerMBS
compiler.Pattern = "(\d+)([$€£]?)"

Dim code As PCRE2CodeMBS = Compiler.Compile

MessageBox Str(code.CaptureCount) // shows 2

(Read only property)

PCRE2CodeMBS.DepthLimit as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Backtracking depth limit if set.

(Read only property)

PCRE2CodeMBS.EndAnchored as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Pattern can match only at end of subject.

(Read and Write property)

PCRE2CodeMBS.ExtraOptions as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Extra options that were passed in the compile context.

(Read only property)

PCRE2CodeMBS.FirstCodeType as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Type of start-of-match information.

Value can be:
0 nothing set
1 first code unit is set
2 start of string or after newline
(Read only property)

PCRE2CodeMBS.FirstCodeUnit as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
First code unit when type is 1.

(Read only property)

PCRE2CodeMBS.FrameSize as UInt64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Size of backtracking frame.

(Read only property)

PCRE2CodeMBS.HasBackslashC as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Return true if pattern contains \C.

(Read only property)

PCRE2CodeMBS.HasCRorLF as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Return true if explicit CR or LF matches exist in the pattern.

(Read only property)

PCRE2CodeMBS.HeapLimit as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Heap memory limit if set.

(Read only property)

PCRE2CodeMBS.JChanged as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Return true if (?J) or (?-J) was used.

(Read only property)

PCRE2CodeMBS.JITSize as UInt64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Size of JIT compiled code, or 0.

(Read only property)

Some examples using this property:

PCRE2CodeMBS.LastCodeType as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Type of must-be-present information.

Value can be:
0 nothing set
1 code unit is set
(Read only property)

PCRE2CodeMBS.LastCodeUnit as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Last code unit when type is 1.

(Read only property)

PCRE2CodeMBS.MatchEmpty as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Value is true if the pattern can match an empty string, false otherwise.

(Read only property)

Some examples using this property:

PCRE2CodeMBS.MatchLimit as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Match limit if set.

(Read only property)

PCRE2CodeMBS.MaxLookBehind as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Length (in characters) of the longest lookbehind assertion.

(Read only property)

PCRE2CodeMBS.MinLength as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Lower bound length of matching strings.

(Read only property)

PCRE2CodeMBS.NameCount as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Number of named subpatterns.

(Read only property)

PCRE2CodeMBS.NameEntrySize as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Size of name table entries.

(Read only property)

PCRE2CodeMBS.NewLine as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Code for the newline sequence.

See kNewLine* constants.
(Read only property)

PCRE2CodeMBS.NoJit as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Do not use JIT matching.

(Read and Write property)

PCRE2CodeMBS.NotBOL as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Subject is not the beginning of a line.

(Read and Write property)

PCRE2CodeMBS.NotEmpty as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
An empty string is not a valid match.

(Read and Write property)

PCRE2CodeMBS.NotEmptyAtStart as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
An empty string at the start of the subject is not a valid match.

(Read and Write property)

PCRE2CodeMBS.NotEOL as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Subject is not the end of a line.

(Read and Write property)

PCRE2CodeMBS.NoUTFCheck as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Do not check the subject or replacement for UTF validity (only relevant if UTF was set at compile time)

(Read and Write property)

PCRE2CodeMBS.Options as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The option flags.

You usually set the boolean properties to turn flags here on/off.
(Read and Write property)

PCRE2CodeMBS.PartialHard as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Return -2 from Match() for a partial match even if there is a full match.

(Read and Write property)

PCRE2CodeMBS.PartialSoft as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Return -2 from Match() for a partial match if no full matches are found.

(Read and Write property)

PCRE2CodeMBS.Size as UInt64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Size of compiled pattern.

(Read only property)

PCRE2CodeMBS.SubstituteExtended as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Do extended replacement processing.

(Read and Write property)

PCRE2CodeMBS.SubstituteGlobal as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Replace all occurrences in the subject.

(Read and Write property)

Some examples using this property:

PCRE2CodeMBS.SubstituteLiteral as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The replacement string is literal.

(Read and Write property)

PCRE2CodeMBS.SubstituteMatched as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Use pre-existing match data for 1st match.

(Read and Write property)

PCRE2CodeMBS.SubstituteOverflowLength as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
If overflow, compute needed length.

(Read and Write property)

PCRE2CodeMBS.SubstituteReplacementOnly as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Return only replacement string(s).

(Read and Write property)

PCRE2CodeMBS.SubstituteUnknownUnset as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Treat unknown group as unset.

(Read and Write property)

PCRE2CodeMBS.SubstituteUnsetEmpty as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Simple unset insert = empty string.

(Read and Write property)

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


The biggest plugin in space...