projects
/
chise
/
est.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01f0ae4
)
(www-format-encode-string): Format &A-SW-JIGUGE[45]-ddddd;
author
MORIOKA Tomohiko
<tomo.git@chise.org>
Sun, 19 Jun 2022 04:15:15 +0000
(13:15 +0900)
committer
MORIOKA Tomohiko
<tomo.git@chise.org>
Mon, 17 Oct 2022 08:33:56 +0000
(17:33 +0900)
cwiki-common.el
patch
|
blob
|
history
diff --git
a/cwiki-common.el
b/cwiki-common.el
index
5415ca6
..
f4e7e6f
100644
(file)
--- 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"