From: tomo Date: Sat, 28 Jun 2003 15:56:52 +0000 (+0000) Subject: Accept null radical-number and number of strokes in X-Git-Tag: r21-4-11-chise-0_21-pre11^2~12 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=4d8cfff1800babdf474757cc90486022dc53df83;p=chise%2Fxemacs-chise.git Accept null radical-number and number of strokes in etc/char-data/GT-RS.txt. --- diff --git a/lisp/utf-2000/isolated-char.el b/lisp/utf-2000/isolated-char.el index 2e9f025..351e16d 100644 --- a/lisp/utf-2000/isolated-char.el +++ b/lisp/utf-2000/isolated-char.el @@ -176,7 +176,7 @@ (insert-file-contents "../etc/char-data/GT-RS.txt") (goto-char (point-min)) (let (gt-code radical strokes plane code) - (while (re-search-forward "\\([0-9]+\\),\\([0-9]+\\),\\([0-9]+\\),GT\\([0-9]+\\),....,\\([0-9A-F][0-9A-F][0-9A-F][0-9A-F]\\)" nil t) + (while (re-search-forward "\\([0-9]+\\),\\([0-9]+\\)?,\\([0-9]+\\)?,GT\\([0-9]+\\),....,\\([0-9A-F][0-9A-F][0-9A-F][0-9A-F]\\)" nil t) (setq gt-code (string-to-int (match-string 1)) plane (string-to-int (match-string 4)) code (string-to-int (match-string 5) 16))