lib/unicoder/builders/name.rb in unicoder-1.1.0 vs lib/unicoder/builders/name.rb in unicoder-1.1.1

- old
+ new

@@ -66,10 +66,10 @@ end @range_start = nil elsif line["name"] != "<control>" raise ArgumentError, "inconsistent range found in data, don't know what to do" end - elsif line["name"] =~ Regexp.union(@index[:CP_RANGES].keys) + elsif line["name"] =~ Regexp.union(@index[:CP_RANGES].keys.map{/^#{_1}/}) # ignore else assign :NAMES, line["codepoint"].to_i(16), line["name"] @words += line["name"].split end