System.RegularExpressionsCore.TPerlRegEx.Create
Delphi
constructor Create;
C++
__fastcall TPerlRegEx(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | System.RegularExpressionsCore.pas System.RegularExpressionsCore.hpp |
System.RegularExpressionsCore | TPerlRegEx |
Description
Creates an instance of the TPerlRegEx class.
Calling Create constructs and initializes an instance of TPerlRegEx.
Create calls the parent constructor and initializes the instance. The State is initialized to preNotEmpty, the Options are initialized to PCRE_UTF8 or PCRE_NEWLINE_ANY.
When overriding Create, always call the inherited Create method first, then proceed with the instance's initialization. Remember to specify the override directive when overriding the Create method.