(i 0)
ch this-trans)
(while (< i len)
- (let ((idx (string-match tibetan-precomposition-rule-alist str i)))
+ (let ((idx (string-match tibetan-precomposition-rule-regexp str i)))
(if (eq idx i)
;; Ith character and the followings matches precomposable
;; Tibetan sequence.
;;; (Sanskrit visarga, though it is a vowel modifier, is considered
;;; to be a punctuation.)
;;;
-;;; Here are examples of the words "bsgrubs" and "h'uM"
+;;; Here are examples of the words "bsgrubs" and "hfauM"
;;;
-;;; \e4\e$(7"7\e0"7\e1\e4%qx!"U\e0"G###C"U\e1\e4"7\e0"7\e1\e4"G\e0"G\e1\e(B \e4\e$(7"Hx!"Rx!"Ur'"_\e0"H"A"U"_\e1\e(B
+;;; \e4\e$(7"7\e0"7\e1\e4%qx!"U\e0"G###C"U\e1\e4"7\e0"7\e1\e4"G\e0"G\e1\e(B \e4\e$(7"Hx!"Rx!"Ur'"_\e0"H"R"U"_\e1\e(B
;;;
;;; M
;;; b s b s h
-;;; g '
+;;; g fa
;;; r u
;;; u
;;;
;; Added by Tomabechi 2000/06/08
(if (memq char '(?\e$(7"T\e(B ?\e$(7"V\e(B ?\e$(7"W\e(B ?\e$(7"X\e(B ?\e$(7"Y\e(B ?\e$(7"Z\e(B ?\e$(7"b\e(B))
(setq comp-vowel
- (cddr (assoc (char-to-string char)
- tibetan-composite-vowel-alist))
+ (copy-sequence
+ (cddr (assoc (char-to-string char)
+ tibetan-composite-vowel-alist)))
char
(cadr (assoc (char-to-string char)
tibetan-composite-vowel-alist))))