System.RegularExpressionsCore.TPerlRegEx.EscapeRegExChars

From RAD Studio API Documentation
Jump to: navigation, search

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