System.RegularExpressionsCore.TPerlRegExList.Match

From RAD Studio API Documentation
Jump to: navigation, search


Delphi

function Match: Boolean;

C++

bool __fastcall Match();

Properties

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

Description

Matches the regex on list to Subject.

Attempts to match the regular expressions in the list on the string specified in the Subject property. Call MatchAgain to attempt to match the regex on the remainder of the subject string after a successful call to Match.

If more than one regular expression matches the subject, the leftmost match (i.e. the one with the lowest MatchedOffset) is returned by the MatchedRegEx property. If more than one regular expression matches at the same position in the string, the one added to the list first is returned. Use the MatchedRegEx property to get more information about the match.

See Also