mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-14 00:17:33 +02:00
Expanging the grapheme cases so that the hangul variants are never empty.
This commit is contained in:
parent
9c5871484f
commit
dc4bab73d2
1 changed files with 13 additions and 1 deletions
|
@ -696,10 +696,22 @@
|
|||
((grapheme)
|
||||
(->rx
|
||||
`(or (: "\r\n")
|
||||
(: (* ,char-set:hangul-l)
|
||||
(: (+ ,char-set:hangul-l)
|
||||
(or ,char-set:hangul-lvt
|
||||
(: (? ,char-set:hangul-lv) (* ,char-set:hangul-v)))
|
||||
(* ,char-set:hangul-t))
|
||||
(: (* ,char-set:hangul-l)
|
||||
(or ,char-set:hangul-lvt
|
||||
(: ,char-set:hangul-lv (* ,char-set:hangul-v)))
|
||||
(* ,char-set:hangul-t))
|
||||
(: (* ,char-set:hangul-l)
|
||||
(or ,char-set:hangul-lvt
|
||||
(: (? ,char-set:hangul-lv) (+ ,char-set:hangul-v)))
|
||||
(* ,char-set:hangul-t))
|
||||
(: (* ,char-set:hangul-l)
|
||||
(or ,char-set:hangul-lvt
|
||||
(: (? ,char-set:hangul-lv) (* ,char-set:hangul-v)))
|
||||
(+ ,char-set:hangul-t))
|
||||
(+ ,char-set:regional-indicator)
|
||||
control
|
||||
(: (~ control ("\r\n"))
|
||||
|
|
Loading…
Add table
Reference in a new issue