System.Text.RegularExpressions.Regex.Escape C# (CSharp) Метод

Escape() публичный статический Метод

public static Escape ( string str ) : string
str string
Результат string
        public static string Escape(string str)
        {
            throw null;
        }

Usage Example

Пример #1
0
 protected static string escape(string text) => RRegex.Escape(text).Replace("]", @"\]");