System.RegularExpressionsCore.TPerlRegEx.Replacement

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

property Replacement: string read GetReplacement write SetReplacement;

C++

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

プロパティ

種類 可視性 ソース ユニット
property public
System.RegularExpressionsCore.pas
System.RegularExpressionsCore.hpp
System.RegularExpressionsCore TPerlRegEx

説明

一致した表現と置き換えられる文字列。

$1、$2、$3 と同様、後方参照の \0、\1、\2 などは Groups(数)に置き換えられます。

TPerlRegEx クラスは、http://www.regular-expressions.info/refreplace.html で説明される置換テキストのフレーバー「JGsoft」を使用します。

関連項目


コード サンプル