basant307/AI_Governance_Project
048
1declare namespace astralRegex {2 interface Options {3 /**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)_5 */6 readonly exact?: boolean;7 }8}9 10/**11Regular expression for matching [astral symbols](https://everything2.com/title/astral+plane).12 13@returns A `RegExp` for matching astral symbols.14 15@example16```17import astralRegex = require('astral-regex');18 19astralRegex({exact: true}).test('๐ฆ');20//=> true21 22'foo ๐ฆ ๐ฉ bar'.match(astralRegex());23//=> ['๐ฆ', '๐ฉ']24```25*/26declare function astralRegex(options?: astralRegex.Options): RegExp;27 28export = astralRegex;29 