From 854c81964a678fdd81bacd7545265a6e10606cd9 Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Thu, 30 Jun 2016 00:18:45 +0900 Subject: [PATCH] (www-format-encode-string): Display &{G-|g2-|R-}RUI6-hhhh;. --- cwiki-common.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cwiki-common.el b/cwiki-common.el index a720089..91eaa9f 100644 --- a/cwiki-common.el +++ b/cwiki-common.el @@ -1138,8 +1138,8 @@ style=\"%s\">" t 'literal)) (goto-char (point-min)) - (while (re-search-forward "&RUI6-\\([0-9A-F]+\\);" nil t) - (setq code (string-to-int (match-string 1) 16)) + (while (re-search-forward "&\\(G-\\|g2-\\|R-\\)?RUI6-\\([0-9A-F]+\\);" nil t) + (setq code (string-to-int (match-string 2) 16)) (replace-match (format "\"RUI6-%04X\"" -- 1.7.10.4