diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-02 03:12:51 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-02 03:12:51 +0000 |
commit | 01830719f641ee9b56e0a6f5ef24759202761476 (patch) | |
tree | 0789c4d448287ca4873f4fefee065006d9dbed1b /template/unicode_norm_gen.tmpl | |
parent | 8b180dd74ef7604bc896275ce2a13a1d8c2c2565 (diff) |
fix for emoji-data.txt
* common.mk: download emoji-data.txt. As emoji data files are
located in a separate directory in Unicode.org site, reearranged
Unicode data files directories same as the site.
* tool/enc-unicode.rb (get_file): search emoji data files in the
second argument path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template/unicode_norm_gen.tmpl')
-rw-r--r-- | template/unicode_norm_gen.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/unicode_norm_gen.tmpl b/template/unicode_norm_gen.tmpl index 74c361fe2a..64acfc8d18 100644 --- a/template/unicode_norm_gen.tmpl +++ b/template/unicode_norm_gen.tmpl @@ -7,7 +7,7 @@ # Constants for input and ouput directory InputDataDir = ARGV[0] || 'enc/unicode/data' -unicode_version = InputDataDir[/[\d.]+\z/] +unicode_version = InputDataDir[/.*\/(\d+\.\d+\.\d+)(?=\/|\z)/, 1] # convenience methods class Integer |