Class TRegex (unit Regex)
Inherits from
TObject
Constructors
constructor create;
Functions
destructor destroy;
function match( const sText: string ) : integer;
function search( const sText: string ) : integer;
function GetNumSubs : integer;
function GetSub( Idx : integer ) : string;
ricompila
function isFound : boolean;
procedure SetPattern( const sPat : string );
procedure SetSyntax( Synt : TReSyntax );
Properties
property Found : boolean
property NumSubs : integer
property Pattern : string
property Pos : integer
property Sub : string
property Syntax : TReSyntax
Events
Variables
FPatBuf : re_pattern_buffer;
FPattern : string;
FPos : integer;
FRegs : re_registers;
FResult : integer;
FSyntax : TReSyntax;
FText : string;
Constructors
constructor create;
Functions
destructor destroy;
function match( const sText: string ) : integer;
function search( const sText: string ) : integer;
function GetNumSubs : integer;
function GetSub( Idx : integer ) : string;
ricompila
function isFound : boolean;
procedure SetPattern( const sPat : string );
procedure SetSyntax( Synt : TReSyntax );
Properties
property Found : boolean
property NumSubs : integer
property Pattern : string
property Pos : integer
property Sub : string
property Syntax : TReSyntax
Events
Variables
FPatBuf : re_pattern_buffer;
FPattern : string;
FPos : integer;
FRegs : re_registers;
FResult : integer;
FSyntax : TReSyntax;
FText : string;