Skip to content

Commit

Permalink
Breaking: Remove REGEX_ANY
Browse files Browse the repository at this point in the history
  • Loading branch information
janlelis committed Nov 6, 2024
1 parent 64daa74 commit b7feb94
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 20 deletions.
3 changes: 0 additions & 3 deletions data/generate_constants.rb
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,6 @@ def compile(emoji_character:, emoji_modifier:, emoji_modifier_base:, emoji_compo
# Matches only basic single, textual emoji, ignores components like modifiers or simple digits
regexes[:REGEX_TEXT] = Regexp.compile(text_emoji)

# Same as \p{Emoji} - to be removed or renamed
regexes[:REGEX_ANY] = Regexp.compile(emoji_character)

# 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)
Expand Down
1 change: 0 additions & 1 deletion lib/unicode/emoji.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ module Emoji
REGEX_POSSIBLE
REGEX_BASIC
REGEX_TEXT
REGEX_ANY
REGEX_PROP_EMOJI
REGEX_PROP_MODIFIER
REGEX_PROP_MODIFIER_BASE
Expand Down
8 changes: 0 additions & 8 deletions lib/unicode/emoji/generated/regex_any.rb

This file was deleted.

8 changes: 0 additions & 8 deletions lib/unicode/emoji/generated_native/regex_any.rb

This file was deleted.

0 comments on commit b7feb94

Please sign in to comment.