[Overview][Constants][Types][Classes][Index] | Reference for unit 'PerlRegEx' (#crwlib)

# TPerlRegEx

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

## Declaration

Source position: perlregex.pas line 95

`type TPerlRegEx = class(TMasterObject)`
`protected`
`procedure CleanUp;`
`procedure ClearStoredSubExpressions;`
`public`
`constructor Create;`
`destructor Destroy; override;`
`class function EscapeRegExChars();`
`procedure Compile;`
`procedure Study;`
`function Match;`
`function MatchAgain;`
`function Replace;`
`function ReplaceAll;`
`function ComputeReplacement;`
`procedure StoreSubExpressions;`
`function NamedSubExpression();`
`procedure Split();`
`property Compiled: Boolean; [r]`
`property FoundMatch: Boolean; [r]`
`property Studied: Boolean; [r]`
`property MatchedExpression: PCREString; [r]`
`property MatchedExpressionLength: Integer; [r]`
`property MatchedExpressionOffset: Integer; [r]`
`property Start: Integer; [rw]`
`property Stop: Integer; [rw]`
`property State: TPerlRegExState; [rw]`
`property SubExpressionCount: Integer; [r]`
`property SubExpressions []: PCREString; [r]`
`property SubExpressionLengths []: Integer; [r]`
`property SubExpressionOffsets []: Integer; [r]`
`property Subject: PCREString; [rw]`
`property SubjectLeft: PCREString; [r]`
`property SubjectRight: PCREString; [r]`
`property Options: TPerlRegExOptions; [rw]`
`property RegEx: PCREString; [rw]`
`property Replacement: PCREString; [rw]`
`property OnMatch: TNotifyEvent; [rw]`
`property OnReplace: TPerlRegExReplaceEvent; [rw]`
`end;`

## Inheritance

`TPerlRegEx`
`TMasterObject`
`TObject`