System.RegularExpressionsCore.TPerlRegExOption

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

TPerlRegExOption = (
preCaseLess,       // /i -> Case insensitive
preMultiLine,      // /m -> ^ and $ also match before/after a newline, not just at the beginning and the end of the string
preSingleLine,     // /s -> Dot matches any character, including \n (newline). Otherwise, it matches anything except \n
preExtended,       // /x -> Allow regex to contain extra whitespace, newlines and Perl-style comments, all of which will be filtered out
preAnchored,       // /A -> Successful match can only occur at the start of the subject or right after the previous match
preUnGreedy,       // Repeat operators (+, *, ?) are not greedy by default (i.e. they try to match the minimum number of characters instead of the maximum)
preNoAutoCapture   // (group) is a non-capturing group; only named groups capture
);

C++

enum DECLSPEC_DENUM TPerlRegExOption : unsigned char { preCaseLess, preMultiLine, preSingleLine, preExtended, preAnchored, preUnGreedy, preNoAutoCapture };

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
enum public
System.RegularExpressionsCore.pas
System.RegularExpressionsCore.hpp
System.RegularExpressionsCore System.RegularExpressionsCore

Beschreibung

Embarcadero Technologies verfügt zurzeit über keine zusätzlichen Informationen. Bitte unterstützen Sie uns bei der Dokumentation dieses Themas, indem Sie Ihre Kommentare auf der Diskussionsseite eingeben.