System.RegularExpressionsCore.TPerlRegEx.Replacement

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Replacement: string read GetReplacement write SetReplacement;

C++

__property System::UnicodeString Replacement = {read=GetReplacement, write=SetReplacement};

Properties

Type Visibility Source Unit Parent
property public
System.RegularExpressionsCore.pas
System.RegularExpressionsCore.hpp
System.RegularExpressionsCore TPerlRegEx

Description

String to replace matched expression with.

Backreferences \0, \1, \2 etc. as well as $1, $2, $3, etc. will be substituted with Groups[number].

The TPerlRegEx class uses the "JGsoft" replacement text flavor explained at http://www.regular-expressions.info/refreplace.html.

See Also


Code Examples