System.RegularExpressions.TRegEx.Create
Delphi
constructor Create(const Pattern: string; Options: TRegExOptions = [roNotEmpty]);
C++
__fastcall TRegEx(const System::UnicodeString Pattern, TRegExOptions Options);
TRegEx() {}
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | System.RegularExpressions.pas System.RegularExpressions.hpp |
System.RegularExpressions | TRegEx |
Description
Creates an instance of the TRegEx record.
Use Create to assign a regular expression Pattern to use in matching. You can also assign TRegExOptions Options to effect how the matching occurs. The regular expression and options can also be assigned in the Replace or Match method.
See Also
Code Examples