1
0
Fork 0
mirror of synced 2026-06-05 17:48:19 +00:00
login/node_modules/char-regex/index.d.ts
2023-11-20 14:12:35 +08:00

13 lines
297 B
TypeScript

/**
* A regex to match any full character, considering weird character ranges.
* @example
* ```
* const charRegex = require("char-regex");
*
* "❤️👊🏽".match(charRegex());
* //=> ["❤️", "👊🏽"]
* ```
*/
declare function charRegex(): RegExp
export = charRegex