Highlight.Patterns.BlockPattern.Escape C# (CSharp) 메소드

Escape() 공개 정적인 메소드

public static Escape ( string str ) : string
str string
리턴 string
        public static string Escape(string str)
        {
            if (str.CompareTo(@"\n") != 0) {
                str = Regex.Escape(str);
            }

            return str;
        }