From 4d8cfff1800babdf474757cc90486022dc53df83 Mon Sep 17 00:00:00 2001 From: tomo Date: Sat, 28 Jun 2003 15:56:52 +0000 Subject: [PATCH] Accept null radical-number and number of strokes in etc/char-data/GT-RS.txt. --- lisp/utf-2000/isolated-char.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 1.7.10.4