; * lisp/leim/quail/latin-ltx.el: Fix regexp in last commit.

This commit is contained in:
Stefan Kangas
2020-08-11 08:47:40 +02:00
parent 9c702b5ad6
commit 0d0aad213f

View File

@@ -244,7 +244,7 @@ system, including many technical ones. Examples:
;; (which is \varphi) are reversed in `ucs-names', so we define
;; them manually. Also ignore "GREEK SMALL LETTER EPSILON" and
;; add the correct value for \epsilon manually.
(unless (string-match-p "\\<PHI\\|GREEK SMALL LETTER EPSILON\\>" name)
(unless (string-match-p "\\<\\(?:PHI\\|GREEK SMALL LETTER EPSILON\\)\\>" name)
(concat "\\" (funcall (if (match-end 1) #' capitalize #'downcase)
(match-string 2 name)))))
"\\`GREEK \\(?:SMALL\\|CAPITA\\(L\\)\\) LETTER \\([^- ]+\\)\\'")