Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/zmwangx/emojiregexp

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/zmwangx/emojiregexp

  • v1.0.1-0.20240521024239-ea79307a8437
  • Source
  • Go
  • Socket score

Version published
Created
Source

Emoji Regexp for Go

Go Reference

This is a port of mathiasbynens/emoji-regex to Go. The RE2 regex is provided by emoji-test-regex-pattern.

This module exports one and only symbol, emojiregexp.EmojiRegexp, which is a regular *regexp.Regexp that matches all Unicode emojis, including multi-codepoint ones.

Currently supported Unicode version is 15.1.

Notes

re2.txt is generated by running ./scripts/update. Running it again will update it to the latest version provided by emoji-test-regex-pattern.

full-emoji-list.txt used in test was generated by running

[...document.querySelectorAll('td.chars')].map(td => td.textContent).join('\n') + '\n'

on https://unicode.org/emoji/charts/full-emoji-list.html.

FAQs

Package last updated on 21 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc