System.RegularExpressionsCore.TPerlRegEx.StoreGroups

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure StoreGroups;

C++

void __fastcall StoreGroups();

Properties

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

Description

Stores duplicates of Groups[].

Stores duplicates of Groups[] so they and ComputeReplacement will still return the proper strings even if Subject is changed or cleared.

This can be useful if you plan to modify the string that you assigned to Subject. If you do that without clearing Subject first, Delphi will automatically create a duplicate of the subject string, which wastes memory and CPU time if the subject is very long.

See Also


Code Examples