Skip to content

Commit b7feb94

Browse files
committed
Breaking: Remove REGEX_ANY
1 parent 64daa74 commit b7feb94

File tree

4 files changed

+0
-20
lines changed

4 files changed

+0
-20
lines changed

data/generate_constants.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,9 +301,6 @@ def compile(emoji_character:, emoji_modifier:, emoji_modifier_base:, emoji_compo
301301
# Matches only basic single, textual emoji, ignores components like modifiers or simple digits
302302
regexes[:REGEX_TEXT] = Regexp.compile(text_emoji)
303303

304-
# Same as \p{Emoji} - to be removed or renamed
305-
regexes[:REGEX_ANY] = Regexp.compile(emoji_character)
306-
307304
# Export regexes for Emoji properties so they can be used with newer Unicode than Ruby's
308305
regexes[:REGEX_PROP_EMOJI] = Regexp.compile(emoji_character)
309306
regexes[:REGEX_PROP_MODIFIER] = Regexp.compile(emoji_modifier)

lib/unicode/emoji.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ module Emoji
5050
REGEX_POSSIBLE
5151
REGEX_BASIC
5252
REGEX_TEXT
53-
REGEX_ANY
5453
REGEX_PROP_EMOJI
5554
REGEX_PROP_MODIFIER
5655
REGEX_PROP_MODIFIER_BASE

lib/unicode/emoji/generated/regex_any.rb

Lines changed: 0 additions & 8 deletions
This file was deleted.

lib/unicode/emoji/generated_native/regex_any.rb

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)