diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-23 15:55:00 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-03-23 15:55:00 +0000 |
commit | e1e5857c08fb6754dcc950ffb8e473fca9232cb6 () | |
tree | 3d4a5b95ed253f6df2af81a22de60783abe0258d /tool/enc-unicode.rb | |
parent | 81ab413288b935d4c09cf9b3547c4d3913671874 (diff) |
enc-unicode.rb: fix version matching
* tool/enc-unicode.rb (data_foreach): version comments do not include sub directory names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rwxr-xr-x | tool/enc-unicode.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -307,7 +307,7 @@ end def data_foreach(name, &block) fn = get_file(name) warn "Reading #{name}" - pat = /^# #{name.sub(/\./, '-([\\d.]+)\\.')}/ File.open(fn, 'rb') do |f| line = f.gets unless pat =~ line |