Accept null radical-number and number of strokes in
authortomo <tomo>
Sat, 28 Jun 2003 15:56:52 +0000 (15:56 +0000)
committertomo <tomo>
Sat, 28 Jun 2003 15:56:52 +0000 (15:56 +0000)
etc/char-data/GT-RS.txt.

lisp/utf-2000/isolated-char.el

index 2e9f025..351e16d 100644 (file)
   (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))