Platforms to show: All Mac Windows Linux Cross-Platform
Regular Expressions
Very fast regular expression searches in Xojo.
- Classes
- class PCRE2CodeInfoMBS
- method Constructor
- property CalloutNumber as Integer
- property CalloutString as String
- property CalloutStringLength as Integer
- property CalloutStringOffset as Integer
- property NextItemLength as Integer
- property PatternPosition as Integer
- class PCRE2CodeMBS
- method Constructor
- method Copy(withTables as boolean = false) as PCRE2CodeMBS
- method Infos as PCRE2CodeInfoMBS()
- method JITCompile(Flags as Integer = 1)
- method Match(Text as String, matchData as PCRE2MatchDataMBS, StartOffsetCharacters as Integer = 0, MatchContext as PCRE2MatchContextMBS = nil) as Integer
- method Match(Text as String, StartOffsetCharacters as Integer = 0, MatchContext as PCRE2MatchContextMBS = nil) as PCRE2MatchDataMBS
- method MatchAll(Text as String, StartOffsetCharacters as Integer = 0, MatchContext as PCRE2MatchContextMBS = nil) as PCRE2MatchDataMBS()
- method Matches(Text as String, StartOffsetCharacters as Integer = 0, MatchContext as PCRE2MatchContextMBS = nil) as PCRE2IteratorMBS
- method Names as String()
- shared method SerializeDecode(Data as String) as PCRE2CodeMBS
- method SerializeEncode as String
- method Substitute(Text as String, Replacement as String, matchData as PCRE2MatchDataMBS = nil, StartOffsetCharacters as Integer = 0, MatchContext as PCRE2MatchContextMBS = nil) as String
- method SubstringNumberFromName(Name as String) as Integer
- property AllOptions as Integer
- property Anchored as Boolean
- property ArgOptions as Integer
- property BackRefMax as Integer
- property BSR as Integer
- property CaptureCount as Integer
- property DepthLimit as Integer
- property EndAnchored as Boolean
- property ExtraOptions as Integer
- property FirstCodeType as Integer
- property FirstCodeUnit as Integer
- property FrameSize as UInt64
- property HasBackslashC as Boolean
- property HasCRorLF as Boolean
- property HeapLimit as Integer
- property JChanged as Boolean
- property JITSize as UInt64
- property LastCodeType as Integer
- property LastCodeUnit as Integer
- property MatchEmpty as Boolean
- property MatchLimit as Integer
- property MaxLookBehind as Integer
- property MinLength as Integer
- property NameCount as Integer
- property NameEntrySize as Integer
- property NewLine as Integer
- property NoJit as Boolean
- property NotBOL as Boolean
- property NotEmpty as Boolean
- property NotEmptyAtStart as Boolean
- property NotEOL as Boolean
- property NoUTFCheck as Boolean
- property Options as Integer
- property PartialHard as Boolean
- property PartialSoft as Boolean
- property Size as UInt64
- property SubstituteExtended as Boolean
- property SubstituteGlobal as Boolean
- property SubstituteLiteral as Boolean
- property SubstituteMatched as Boolean
- property SubstituteOverflowLength as Boolean
- property SubstituteReplacementOnly as Boolean
- property SubstituteUnknownUnset as Boolean
- property SubstituteUnsetEmpty as Boolean
- class PCRE2CompilerMBS
- method Compile as PCRE2CodeMBS
- method Constructor
- method Copy as PCRE2CompilerMBS
- shared property AllocationBytes as Int64
- shared property AllocationCount as Int64
- 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
- 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
- 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
- shared property HasJIT as Boolean
- shared property HasUnicode as Boolean
- shared property JITTarget as String
- shared property LinkSize as Integer
- property Literal as Boolean
- property MatchInvalidUTF as Boolean
- property MatchLine as Boolean
- property MatchUnsetBackref as Boolean
- property MatchWord as Boolean
- property MaxPatternLength as Integer
- shared property MonitorAllocations as Boolean
- property Multiline as Boolean
- property NeverBackslashC as Boolean
- shared 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
- shared property PCRE2Version as String
- property UCP as Boolean
- property Ungreedy as Boolean
- shared property UnicodeVersion as String
- property UseOffsetLimit as Boolean
- property UTF as Boolean
- class PCRE2ExceptionMBS
- method Constructor
- class PCRE2IteratorMBS
- method Constructor
- method Iterator as Iterator
- method MoveNext as Boolean
- method Value as Variant
- class PCRE2MatchContextMBS
- method Constructor
- method Copy as PCRE2MatchContextMBS
- method SetStackSize(StartSize as UInt32, MaxSize as UInt32)
- property DepthLimit as Integer
- property HeapLimit as Integer
- property MatchLimit as Integer
- property OffsetLimit as Integer
- class PCRE2MatchDataMBS
- method Constructor(code as PCRE2CodeMBS)
- method Constructor(size as Integer)
- method OffsetVector(index as Integer) as Integer
- method OffsetVectors as Integer()
- method SubString(Index as Integer) as String
- method SubString(Name as String) as String
- method SubStrings as String()
- property DataSize as Integer
- property Mark as String
- property OffsetVectorCount as Integer
- property StartPosition as Integer
- property Text as String
- class RegExMBS
- method Compile(pattern as string) as boolean
- method CompileMemory(pattern as memoryblock, ByteOffset as Integer) as boolean
- method ConfigBSR as boolean
- method ConfigLinkSize as Integer
- method ConfigMallocThreshold as Integer
- method ConfigMatchLimit as Integer
- method ConfigMatchLimitRecursion as Integer
- method ConfigNewLine as Integer
- method ConfigStackRecurse as boolean
- method ConfigUnicodeProperties as boolean
- method ConfigUTF8 as boolean
- method Constructor(VecSize as Integer = 0)
- method Escape(text as string) as string
- method Execute(start as Integer = 0) as Integer
- method Execute(text as string, start as Integer = 0) as Integer
- method ExecuteMemory(text as memoryblock, ByteOffset as Integer = 0, ByteLength as Integer = 0) as Integer
- method ExecuteMemoryMT(text as memoryblock, ByteOffset as Integer = 0, ByteLength as Integer = 0) as Integer
- method ExecuteMT(start as Integer = 0) as Integer
- method ExecuteMT(text as string, start as Integer = 0) as Integer
- method InfoNameEntry(Index as Integer) as string
- shared method IsASCIIText(text as string) as boolean
- method Match(text as string) as boolean
- method Match(text() as string, inverse as boolean = false) as string()
- method Match(text() as Variant, inverse as boolean = false) as string()
- method Offset(index as Integer) as Integer
- method OffsetCharacters(index as Integer) as Integer
- method Replace(NewText as string) as string
- method ReplaceAll(Target as string, NewText as string = "") as string
- method ReplaceSelection(NewText as string) as string
- method StringNumber(name as string) as Integer
- method Study as boolean
- method Substring(index as Integer) as string
- method Substring(name as string) as string
- method Unescape(text as string) as string
- method Version as string
- property CompileOptionAnchored as Boolean
- property CompileOptionAutoCallOut as Boolean
- property CompileOptionBSRAnyCRLF as Boolean
- property CompileOptionBSRUnicode as Boolean
- property CompileOptionCaseLess as Boolean
- property CompileOptionDollarEndOnly as Boolean
- property CompileOptionDotAll as Boolean
- property CompileOptionDuplicateNames as Boolean
- property CompileOptionExtended as Boolean
- property CompileOptionFirstLine as Boolean
- property CompileOptionJavaScriptCompat as Boolean
- property CompileOptionMultiline as Boolean
- property CompileOptionNewLineAny as Boolean
- property CompileOptionNewLineAnyCRLF as Boolean
- property CompileOptionNewLineCR as Boolean
- property CompileOptionNewLineCRLF as Boolean
- property CompileOptionNewLineLF as Boolean
- property CompileOptionNoAutoCapture as Boolean
- property CompileOptionNoStartOptimize as Boolean
- property CompileOptionNoUTF8Check as Boolean
- property CompileOptions as Integer
- property CompileOptionUngreedy as Boolean
- property CompileOptionUnicodeCodePoints as Boolean
- property CompileOptionUTF8 as Boolean
- property Count as Integer
- property ErrorMessage as String
- property ErrorOffset as Integer
- property ExecuteOptionAnchored as Boolean
- property ExecuteOptionBSRAnyCRLF as Boolean
- property ExecuteOptionBSRUnicode as Boolean
- property ExecuteOptionNewLineAny as Boolean
- property ExecuteOptionNewLineAnyCRLF as Boolean
- property ExecuteOptionNewLineCR as Boolean
- property ExecuteOptionNewLineCRLF as Boolean
- property ExecuteOptionNewLineLF as Boolean
- property ExecuteOptionNoStartOptimize as Boolean
- property ExecuteOptionNotBOL as Boolean
- property ExecuteOptionNotEmpty as Boolean
- property ExecuteOptionNotEmptyAtStart as Boolean
- property ExecuteOptionNotEOL as Boolean
- property ExecuteOptionNoUTF8Check as Boolean
- property ExecuteOptionPartial as Boolean
- property ExecuteOptionPartialHard as Boolean
- property ExecuteOptions as Integer
- property Handle as Integer
- property InfoCaptureCount as Integer
- property InfoNameCount as Integer
- property InfoSize as Integer
- property InfoStudySize as Integer
- property Lasterror as Integer
- property MatchLimit as Integer
- property MatchLimitRecursion as Integer
- property Text as String
- property TextMemory as Memoryblock
- property VectorSize as Integer
- class PCRE2CodeInfoMBS
- Blog Entries
Release notes
- Version 24.0
- Added Hidden attribute to JSONIteratorMBS, XMLIterateAttributeNodesMBS, XMLIterateChildNodesMBS, XMLIterateElementsMBS, DynaPDFIteratorMBS and PCRE2IteratorMBS classes to hide it from auto complete. Since you use it via for each loops indirectly, you never need to use these classes directly.
- Version 22.3
- Added SetStackSize method to PCRE2MatchContextMBS class.
- Fixed PCRE2MatchDataMBS class to not crash with querying StartPosition in an empty matchdata object.
- Version 21.1
- Version 20.0
- Fixed crash in SubString() function in RegExMBS when called without an Execute first. Raising exceptions now in this case.
The items on this page are in the following plugins: MBS RegEx Plugin.