UNPKG

unicode-astral-regex

Version:

A regex to match astral symbols that supports unicode strings.

22 lines (14 loc) 536 B
# unicode-astral-regex [![npm](https://img.shields.io/npm/dm/unicode-astral-regex.svg)](https://www.npmjs.com/package/unicode-astral-regex) A regex to match astral symbols that supports unicode strings. ## Usage ```shell $ npm install unicode-astral-regex ``` ```js import astralRegex from 'unicode-astral-regex'; astralRegex.match('some string'); ``` ## License RegExp from the [Lodash](https://github.com/lodash/lodash) which is released under the [MIT License](https://raw.githubusercontent.com/lodash/lodash/4.14.1/LICENSE).