lib/unicode/emoji.rb in unicode-emoji-2.2.0 vs lib/unicode/emoji.rb in unicode-emoji-2.3.0

- old
+ new

@@ -39,10 +39,9 @@ RECOMMENDED_ZWJ_SEQUENCES = INDEX[:ZWJ].freeze LIST = INDEX[:LIST].freeze.each_value(&:freeze) LIST_REMOVED_KEYS = [ "Smileys & People", - "Component", ] pack = ->(ord){ Regexp.escape(Array(ord).pack("U*")) } join = -> (*strings){ "(?:" + strings.join("|") + ")" } pack_and_join = ->(ords){ join[*ords.map{ |ord| pack[ord] }] }