System.RegularExpressionsCore.TPerlRegEx.EscapeRegExChars
Delphi
class function EscapeRegExChars(const S: string): string;
C++
__classmethod System::UnicodeString __fastcall EscapeRegExChars(const System::UnicodeString S);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.RegularExpressionsCore.pas System.RegularExpressionsCore.hpp |
System.RegularExpressionsCore | TPerlRegEx |
Description
Escapes regex characters.
Escapes regex characters in S so that the regex engine can be used to match S as plain text.
Code Examples