Package Exports
- emojibase-regex
- emojibase-regex/emoticon
- emojibase-regex/shortcode
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (emojibase-regex) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Emojibase Regex v1.0.0
Install the package.
yarn add emojibase-regex
Import and use the RegExp
pattern.
import EMOJI_REGEX from 'emojibase-regex';
import SHORTCODE_REGEX from 'emojibase-regex/shortcode';
`🏰`.match(EMOJI_REGEX);
':castle:'.match(SHORTCODE_REGEX);
Please refer to the official documentation for more information.