Registry / utility / emoji-regex

emoji-regex

JSON →
library15.0.0rbrubygemsunverified

A set of Ruby regular expressions for matching Unicode Emoji symbols.

gem install emoji_regex
INSTALL
IMPORT
SIG · EMOJI-REGEX
E
emoji-regex
utilityrubyv15.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

EmojiRegex
require 'emoji_regex'

Replace emoji in a string

require 'emoji_regex' text = 'Hello 😊 world!' text.gsub(EmojiRegex::Regex, '[emoji]')
Debug
Known issues
gotchaRegex may not cover all emoji variants (e.g., skin tones)
fix
Use EmojiRegex::Regex::ALL for broader matching
affects: < 15.0.0
Upgrade
Version history
15.0.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
emoji-regex — gem install emoji-regex · libregistry