LispEngine.Parsing.Parser.unescape C# (CSharp) Method

unescape() private static method

private static unescape ( string s ) : string
s string
return string
        private static string unescape(string s)
        {
            // Remove surrounding quotes
            s = s.Substring(1, s.Length - 2);
            // Regex.Unescape solves the problem of converting \n, \t etc
            // for us.
            return System.Text.RegularExpressions.Regex.Unescape(s);
        }