A regex to match astral symbols that supports unicode strings.
This package is used in stringz library.
$ npm install unicode-astral-regex
import astralRegex from 'unicode-astral-regex';
'some string'.match(astralRegex);
RegExp from the Lodash which is released under the MIT License.