From 9b6c8c83eb5171c96aea07f67533cdac2b0bbe66 Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Sun, 19 Jun 2022 13:15:15 +0900 Subject: [PATCH] (www-format-encode-string): Format &A-SW-JIGUGE[45]-ddddd; --- cwiki-common.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cwiki-common.el b/cwiki-common.el index 5415ca6..f4e7e6f 100644 --- a/cwiki-common.el +++ b/cwiki-common.el @@ -1114,9 +1114,9 @@ style=\"vertical-align:middle; width: auto; max-height: 60px\">" t 'literal)) (goto-char (point-min)) - (while (re-search-forward "&SW-JIGUGE\\([45]?\\)-\\([0-9]+\\);" nil t) - (setq subcode (match-string 1) - code (string-to-int (match-string 2))) + (while (re-search-forward "&\\(A-\\)?SW-JIGUGE\\([45]?\\)-\\([0-9]+\\);" nil t) + (setq subcode (match-string 2) + code (string-to-int (match-string 3))) (setq plane (if (string= subcode "") "5" -- 1.7.10.4