data/generate_constants.rb in unicode-emoji-4.0.3 vs data/generate_constants.rb in unicode-emoji-4.0.4
- old
+ new
@@ -298,9 +298,10 @@
# Matches only basic single, non-textual emoji, ignores some components like simple digits
regexes[:REGEX_BASIC] = Regexp.compile(basic_emoji)
# Matches only basic single, textual emoji, ignores components like modifiers or simple digits
regexes[:REGEX_TEXT] = Regexp.compile(text_emoji)
+ regexes[:REGEX_TEXT_PRESENTATION] = Regexp.compile(text_presentation)
# Export regexes for Emoji properties so they can be used with newer Unicode than Ruby's
regexes[:REGEX_PROP_EMOJI] = Regexp.compile(emoji_character)
regexes[:REGEX_PROP_MODIFIER] = Regexp.compile(emoji_modifier)
regexes[:REGEX_PROP_MODIFIER_BASE] = Regexp.compile(emoji_modifier_base)