Platforms to show: All Mac Windows Linux Cross-Platform
PCRE2CompilerMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Regular Expressions | MBS RegEx Plugin | 22.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
- 46 properties
- property AllowEmptyClass as Boolean
- property AllowLookaroundBSK as Boolean
- property AllowSurrogateEscapes as Boolean
- property AltBsux as Boolean
- property AltCircumflex as Boolean
- property AltVerbNames as Boolean
- property Anchored as Boolean
- property AutoCallout as Boolean
- property BadEscapeIsLiteral as Boolean
- property BSR as Integer
- property Caseless as Boolean
- property DollarEndonly as Boolean
- property DotAll as Boolean
- property DupNames as Boolean
- property EndAnchored as Boolean
- property ErrorOffset as Integer
- property EscapedCRIsLF as Boolean
- property Extended as Boolean
- property ExtendedAltBSUX as Boolean
- property ExtendedMore as Boolean
- property ExtraOptions as Integer
- property Firstline as Boolean
- property Greedy as Boolean
- property Literal as Boolean
- property MatchInvalidUTF as Boolean
- property MatchLine as Boolean
- property MatchUnsetBackref as Boolean
- property MatchWord as Boolean
- property MaxPatternLength as Integer
- property Multiline as Boolean
- property NeverBackslashC as Boolean
- property NeverUCP as Boolean
- property NeverUTF as Boolean
- property NewLine as Integer
- property NoAutoCapture as Boolean
- property NoAutoPossess as Boolean
- property NoDotStarAnchor as Boolean
- property NoStartOptimize as Boolean
- property NoUTFCheck as Boolean
- property Options as Integer
- property ParensNestLimit as Integer
- property Pattern as String
- property UCP as Boolean
- property Ungreedy as Boolean
- property UseOffsetLimit as Boolean
- property UTF as Boolean
- 17 shared properties
- shared property AllocationBytes as Int64
- shared property AllocationCount as Int64
- shared property CompiledWidths as Integer
- shared property DefaultBSR as Integer
- shared property DefaultDepthLimit as Integer
- shared property DefaultHeapLimit as Integer
- shared property DefaultMatchLimit as Integer
- shared property DefaultNewLine as Integer
- shared property DefaultParensLimit as Integer
- shared property HasJIT as Boolean
- shared property HasUnicode as Boolean
- shared property JITTarget as String
- shared property LinkSize as Integer
- shared property MonitorAllocations as Boolean
- shared property NeverBackslashC as Boolean
- shared property PCRE2Version as String
- shared property UnicodeVersion as String
- 3 methods
- method Compile as PCRE2CodeMBS
- method Constructor
- method Copy as PCRE2CompilerMBS
- 8 constants
BSR
Constant | Value | Description |
---|---|---|
kBSRanyCRLF | 2 |
CR, LF, or CRLF only |
kBSRUnicode | 1 |
Unicode line endings |
New Line Character
Constant | Value | Description |
---|---|---|
kNewLineAny | 4 |
Any Unicode newline sequence. |
kNewLineAnyCRLF | 5 |
CR, LF or CRLF. |
kNewLineCR | 1 |
Carriage return only |
kNewLineCRLF | 3 |
CR followed by LF only |
kNewLineLF | 2 |
Linefeed only |
kNewLineNul | 6 |
The NUL character (binary zero) |
This class has no sub classes.
Some examples using this class:
Blog Entries
- The Top 10 from the MBS Xojo Plugins in 2022
- News from the MBS Xojo Plugins Version 22.2
- Iterate with PCRE2
- New PCRE2 Plugin for Xojo
- MBS Xojo Plugins, version 22.2pr4
Xojo Developer Magazine
- 21.1, page 27: News from MBS Xojo Plugins, What's up with MonkeyBread Software by Stefanie Juchmes
- 20.6, page 70: Regular Expressions with Xojo, The MBS Plugins has its own RegEx library by Stefanie Juchmes
The items on this page are in the following plugins: MBS RegEx Plugin.
PCRE2CodeMBS - PCRE2ExceptionMBS