ver20.txt.save 1.47 KB
 Radford Neal committed May 18, 2013 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 ``````_J_o_h_n_s_o_n & _J_o_h_n_s_o_n, \$ _ ### ^ ~ _D_e_s_c_r_i_p_t_i_o_n: This is the description _A_r_g_u_m_e_n_t_s: foo: item 1 bar: space, the item 2 bah: newline, then item 3 _D_e_t_a_i_l_s: R R \R alphabetaGamma In code, all that needs to be escaped is percent, backslash and unpaired braces: '% \ {'. Unescaped: '\$ # _ ^ ~ < > |', and as a pair, '{...}'. If we escape: ' \_ \# \\$ \& { } \ ' And some backslashes: '\ \ \\ \\' should give one, one, two, two backslashes. How about \ (that is backslash space) in text? Elsewhere, { } % \ need to be escaped, but not \$ # _ ^ ~ < > | . Let's try that again in '\samp': ' { } % \ \$ # _ ^ ~ < > |'. And if we do escape: \\$ \# \_ , and with three backslashes, \\#. a < b > c | d, x^y \\$k > \#k, x_y, x\_y group-weighting from \$[N_iP_i(1-P_i)]\$ % a \ \% c { \{ _U_R_L_s _a_n_d _e_m_a_i_l_s: URLs need to be verbatim: |>. Markus Kuhn, "ASCII and Unicode quotation marks". No escape is needed in _E_x_a_m_p_l_e_s: "\\r\\n" ``````