зеркало из https://github.com/github/ruby.git
[ruby/reline] Update the generator script too
https://github.com/ruby/reline/commit/8b0926820a
This commit is contained in:
Родитель
55cc397a87
Коммит
9461cceb8a
|
@ -7,7 +7,7 @@ class Reline::Unicode::EastAsianWidth
|
|||
\u{3000}
|
||||
\u{FF01}-\u{FF60}
|
||||
\u{FFE0}-\u{FFE6}
|
||||
).join }])/x
|
||||
).join }])/
|
||||
|
||||
# Halfwidth
|
||||
TYPE_H = /^([#{ %W(
|
||||
|
@ -18,7 +18,7 @@ class Reline::Unicode::EastAsianWidth
|
|||
\u{FFD2}-\u{FFD7}
|
||||
\u{FFDA}-\u{FFDC}
|
||||
\u{FFE8}-\u{FFEE}
|
||||
).join }])/x
|
||||
).join }])/
|
||||
|
||||
# Wide
|
||||
TYPE_W = /^([#{ %W(
|
||||
|
@ -136,7 +136,7 @@ class Reline::Unicode::EastAsianWidth
|
|||
\u{1FAD0}-\u{1FAD6}
|
||||
\u{20000}-\u{2FFFD}
|
||||
\u{30000}-\u{3FFFD}
|
||||
).join }])/x
|
||||
).join }])/
|
||||
|
||||
# Narrow
|
||||
TYPE_NA = /^([#{ %W(
|
||||
|
@ -147,7 +147,7 @@ class Reline::Unicode::EastAsianWidth
|
|||
\u{00AF}
|
||||
\u{27E6}-\u{27ED}
|
||||
\u{2985}-\u{2986}
|
||||
).join }])/x
|
||||
).join }])/
|
||||
|
||||
# Ambiguous
|
||||
TYPE_A = /^([#{ %W(
|
||||
|
@ -330,7 +330,7 @@ class Reline::Unicode::EastAsianWidth
|
|||
\u{E0100}-\u{E01EF}
|
||||
\u{F0000}-\u{FFFFD}
|
||||
\u{100000}-\u{10FFFD}
|
||||
).join }])/x
|
||||
).join }])/
|
||||
|
||||
# Neutral
|
||||
TYPE_N = /^([#{ %W(
|
||||
|
@ -1160,5 +1160,5 @@ class Reline::Unicode::EastAsianWidth
|
|||
\u{1FBF0}-\u{1FBF9}
|
||||
\u{E0001}
|
||||
\u{E0020}-\u{E007F}
|
||||
).join }])/x
|
||||
).join }])/
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче