System.RegularExpressionsCore.TPerlRegEx.NamedGroup

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function NamedGroup(const Name: string): Integer;

C++

int __fastcall NamedGroup(const System::UnicodeString Name);

Properties

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

Description

Returns the index of the specified group name.

Use the returned value with the Groups property to retrieve the text matched by the named group.

See Also

Code Examples