System.Text.RegularExpressions.Regex.Escape C# (CSharp) Method

Escape() public static method

public static Escape ( string str ) : string
str string
return string
        public static string Escape(string str)
        {
            throw null;
        }

Usage Example

Esempio n. 1
0
 protected static string escape(string text) => RRegex.Escape(text).Replace("]", @"\]");