lib/tanuki_emoji/character.rb in tanuki_emoji-0.7.0 vs lib/tanuki_emoji/character.rb in tanuki_emoji-0.8.0

- old
+ new

@@ -6,11 +6,11 @@ # # @see https://www.unicode.org/reports/tr51/ class Character IMAGE_PREFIX = 'emoji_u' IMAGE_EXTENSION = '.png' - FLAG_REGEXP = /[🇦-🇿]{2}/u.freeze - ALPHA_CODE_REGEXP = /:(?<alpha_text>[_+\-a-z0-9]+):/.freeze + FLAG_REGEXP = /[🇦-🇿]{2}/u + ALPHA_CODE_REGEXP = /:(?<alpha_text>[_+\-a-z0-9]+):/ # This denotes a "color" or "emoji" version EMOJI_VARIATION_SELECTOR = 0xFE0F # This denotes a "plain" (black/white) or "textual" version