Platforms to show: All Mac Windows Linux Cross-Platform

Back to PCRE2CompilerMBS class.

PCRE2CompilerMBS.AllowEmptyClass as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Allow empty classes.

(Read and Write property)

PCRE2CompilerMBS.AllowLookaroundBSK as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Allow \K in lookarounds PCRE2_EXTRA_ALLOW_SURROGATE_ESCAPES Allow \x{df800} to \x{dfff} in UTF-8 and UTF-32 modes.

(Read and Write property)

PCRE2CompilerMBS.AllowSurrogateEscapes as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Disables check for surrogates to allow them.

(Read and Write property)

PCRE2CompilerMBS.AltBsux as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Alternative handling of \u, \U, and \x

(Read and Write property)

PCRE2CompilerMBS.AltCircumflex as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Alternative handling of ^ in multiline mode.

(Read and Write property)

PCRE2CompilerMBS.AltVerbNames as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Process backslashes in verb names.

(Read and Write property)

PCRE2CompilerMBS.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
Force pattern anchoring.

(Read and Write property)

PCRE2CompilerMBS.AutoCallout as Boolean

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

(Read and Write property)

PCRE2CompilerMBS.BadEscapeIsLiteral 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 all invalid escapes as a literal following character.

(Read and Write property)

PCRE2CompilerMBS.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
Sets the convention for processing \R within a compile context.

Can be kBSRUnicode or kBSRanyCRLF.
(Read and Write property)

PCRE2CompilerMBS.Caseless 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 caseless matching.

Set to true for caseless matching or false for case sensitive.
(Read and Write property)

PCRE2CompilerMBS.DollarEndonly as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
$ not to match newline at end.

(Read and Write property)

PCRE2CompilerMBS.DotAll as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
. matches anything including NL

(Read and Write property)

Some examples using this property:

PCRE2CompilerMBS.DupNames as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Allow duplicate names for subpatterns.

(Read and Write property)

PCRE2CompilerMBS.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)

PCRE2CompilerMBS.ErrorOffset 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 error offset from Compile failure.

The error offsets in characters.
(Read and Write property)

PCRE2CompilerMBS.EscapedCRIsLF as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Interpret \r as \n.

(Read and Write property)

PCRE2CompilerMBS.Extended as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Ignore white space and # comments.

(Read and Write property)

PCRE2CompilerMBS.ExtendedAltBSUX as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Extended alternate \u, \U, and \x handling.

(Read and Write property)

PCRE2CompilerMBS.ExtendedMore 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 set, the same applies, but in addition unescaped space and horizontal tab characters are ignored inside a character class.

(Read and Write property)

PCRE2CompilerMBS.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
The extra option flags.

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

PCRE2CompilerMBS.Firstline as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Force matching to be before newline.

Force matching to be before newline.
(Read and Write property)

PCRE2CompilerMBS.Greedy as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Don't invert greediness of quantifiers.

(Read and Write property)

Some examples using this property:

PCRE2CompilerMBS.Literal 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 characters are all literal.

(Read and Write property)

PCRE2CompilerMBS.MatchInvalidUTF as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Enable support for matching invalid UTF.

(Read and Write property)

PCRE2CompilerMBS.MatchLine 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 matches whole lines.

(Read and Write property)

PCRE2CompilerMBS.MatchUnsetBackref 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 unset backreferences.

(Read and Write property)

PCRE2CompilerMBS.MatchWord 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 matches "words".

(Read and Write property)

Some examples using this property:

PCRE2CompilerMBS.MaxPatternLength 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 maximum text length (in code units) of the pattern that can be compiled.
Example

Dim Compiler As New PCRE2CompilerMBS

compiler.MaxPatternLength = 10
compiler.Pattern = "(\d+)([$€£]?)"

// raises exception as pattern is too long
Dim code As PCRE2CodeMBS = Compiler.Compile

The default is effectively unlimited.
(Read and Write property)

PCRE2CompilerMBS.Multiline as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
^ and $ match newlines within data.

(Read and Write property)

PCRE2CompilerMBS.NeverBackslashC as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Lock out the use of \C in patterns.

(Read and Write property)

See also:

PCRE2CompilerMBS.NeverUCP as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Lock out PCRE2_UCP, e.g. via (*UCP).

(Read and Write property)

PCRE2CompilerMBS.NeverUTF as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Lock out PCRE2_UTF, e.g. via (*UTF).

(Read and Write property)

PCRE2CompilerMBS.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
Sets the newline convention within a compile context.

See kNewLine* constants.
(Read and Write property)

PCRE2CompilerMBS.NoAutoCapture as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Disable numbered capturing parentheses (named ones available).

(Read and Write property)

PCRE2CompilerMBS.NoAutoPossess as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Disable auto-possessification.

(Read and Write property)

PCRE2CompilerMBS.NoDotStarAnchor as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Disable automatic anchoring for .*

(Read and Write property)

PCRE2CompilerMBS.NoStartOptimize as Boolean

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

(Read and Write property)

PCRE2CompilerMBS.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 pattern for UTF validity (only relevant if UTF is set)

(Read and Write property)

PCRE2CompilerMBS.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)

PCRE2CompilerMBS.ParensNestLimit as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Default parentheses nesting limit.

(Read and Write property)

PCRE2CompilerMBS.Pattern as String

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

(Read and Write property)

PCRE2CompilerMBS.UCP 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 Unicode properties for \d, \w, etc.

(Read and Write property)

PCRE2CompilerMBS.Ungreedy as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Invert greediness of quantifiers.

(Read and Write property)

Some examples using this property:

PCRE2CompilerMBS.UseOffsetLimit as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Regular Expressions MBS RegEx Plugin 22.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Enable offset limit for unanchored matching.

(Read and Write property)

PCRE2CompilerMBS.UTF 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 pattern and subjects as UTF strings.

(Read and Write property)

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


The biggest plugin in space...