mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
tool/unicode_norm_gen.rb: fix for 1.8 BASERUBY
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b45c9f60a3
commit
07c9ad1d18
1 changed files with 2 additions and 3 deletions
|
@ -59,9 +59,8 @@ class Hash
|
|||
end
|
||||
|
||||
# read the file 'CompositionExclusions.txt'
|
||||
composition_exclusions = IO.readlines("#{InputDataDir}/CompositionExclusions.txt")
|
||||
.select { |line| line =~ /^[A-Z0-9]{4,5}/ }
|
||||
.collect { |line| line.split(' ').first.hex }
|
||||
composition_exclusions = IO.readlines("#{InputDataDir}/CompositionExclusions.txt").
|
||||
grep(/^[A-Z0-9]{4,5}/) {|line| line.split(' ').first.hex}
|
||||
|
||||
decomposition_table = {}
|
||||
kompatible_table = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue