1 declare namespace astralRegex {
4 Only match an exact string. Useful with `RegExp#test()` to check if a string is a astral symbol. Default: `false` _(Matches any astral symbols in a string)_
6 readonly exact?: boolean;
11 Regular expression for matching [astral symbols](https://everything2.com/title/astral+plane).
13 @returns A `RegExp` for matching astral symbols.
17 import astralRegex = require('astral-regex');
19 astralRegex({exact: true}).test('🦄');
22 'foo 🦄 💩 bar'.match(astralRegex());
26 declare function astralRegex(options?: astralRegex.Options): RegExp;