lib/unicode/emoji.rb in unicode-emoji-3.8.0 vs lib/unicode/emoji.rb in unicode-emoji-4.0.0
- old
+ new
@@ -15,11 +15,12 @@
EMOJI_COMPONENT
EMOJI_MODIFIER_BASES
EMOJI_MODIFIERS
EXTENDED_PICTOGRAPHIC
EXTENDED_PICTOGRAPHIC_NO_EMOJI
- EMOJI_KEYCAPS VALID_REGION_FLAGS
+ EMOJI_KEYCAPS
+ VALID_REGION_FLAGS
VALID_SUBDIVISIONS
RECOMMENDED_SUBDIVISION_FLAGS
RECOMMENDED_ZWJ_SEQUENCES
].each do |const_name|
autoload const_name, File.expand_path('emoji/lazy_constants', __dir__)
@@ -47,12 +48,17 @@
REGEX_WELL_FORMED
REGEX_WELL_FORMED_INCLUDE_TEXT
REGEX_POSSIBLE
REGEX_BASIC
REGEX_TEXT
+ REGEX_PROP_EMOJI
+ REGEX_PROP_MODIFIER
+ REGEX_PROP_MODIFIER_BASE
+ REGEX_PROP_COMPONENT
+ REGEX_PROP_PRESENTATION
REGEX_PICTO
REGEX_PICTO_NO_EMOJI
- REGEX_ANY
+ REGEX_EMOJI_KEYCAP
].each do |const_name|
autoload const_name, File.join(generated_constants_dirpath, const_name.downcase)
end
# Return Emoji properties of character as an Array or nil