@@ -5936,14 +5936,18 @@ find_help_tags(arg, num_matches, matches, keep_lang)
59365936 "?" , ":?" , "?<CR>" , "g?" , "g?g?" , "g??" , "z?" ,
59375937 "/\\?" , "/\\z(\\)" , "\\=" , ":s\\=" ,
59385938 "[count]" , "[quotex]" , "[range]" ,
5939- "[pattern]" , "\\|" , "\\%$" };
5939+ "[pattern]" , "\\|" , "\\%$" ,
5940+ "s/\\~" , "s/\\U" , "s/\\L" ,
5941+ "s/\\1" , "s/\\2" , "s/\\3" , "s/\\9" };
59405942 static char * (rtable []) = {"star" , "gstar" , "[star" , "]star" , ":star" ,
59415943 "/star" , "/\\\\star" , "quotestar" , "starstar" ,
59425944 "cpo-star" , "/\\\\(\\\\)" , "/\\\\%(\\\\)" ,
59435945 "?" , ":?" , "?<CR>" , "g?" , "g?g?" , "g??" , "z?" ,
59445946 "/\\\\?" , "/\\\\z(\\\\)" , "\\\\=" , ":s\\\\=" ,
59455947 "\\[count]" , "\\[quotex]" , "\\[range]" ,
5946- "\\[pattern]" , "\\\\bar" , "/\\\\%\\$" };
5948+ "\\[pattern]" , "\\\\bar" , "/\\\\%\\$" ,
5949+ "s/\\\\\\~" , "s/\\\\U" , "s/\\\\L" ,
5950+ "s/\\\\1" , "s/\\\\2" , "s/\\\\3" , "s/\\\\9" };
59475951 int flags ;
59485952
59495953 d = IObuff ; /* assume IObuff is long enough! */
@@ -5982,7 +5986,7 @@ find_help_tags(arg, num_matches, matches, keep_lang)
59825986 /* Replace:
59835987 * "[:...:]" with "\[:...:]"
59845988 * "[++...]" with "\[++...]"
5985- * "\{" with "\\{"
5989+ * "\{" with "\\{" -- matching "} \}"
59865990 */
59875991 if ((arg [0 ] == '[' && (arg [1 ] == ':'
59885992 || (arg [1 ] == '+' && arg [2 ] == '+' )))
0 commit comments