System.RegularExpressionsCore.TPerlRegExReplaceEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TPerlRegExReplaceEvent = procedure(Sender: TObject; var ReplaceWith: string) of object;

C++

typedef void __fastcall (__closure *TPerlRegExReplaceEvent)(System::TObject* Sender, System::UnicodeString &ReplaceWith);

Properties

Type Visibility Source Unit Parent
type
typedef
public
System.RegularExpressionsCore.pas
System.RegularExpressionsCore.hpp
System.RegularExpressionsCore System.RegularExpressionsCore

Description

TPerlRegEx OnReplace event type.

Sender is the calling the TPerlRegEx class.

ReplaceWith is equal to the string returned by ComputeReplacement method. The matched expression will be replaced with whatever you assign to ReplaceWith.

See Also