static string escapeChar(Match m) { var c = m.Value[0]; return c < controlCodes.Length ? controlCodes[c] : escapeTable[c]; }