aboutsummaryrefslogtreecommitdiff
path: root/node_modules/char-regex/index.d.ts
blob: 17defa2708d1bbb214c9afcb0a0524488de6dc67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/**
 * 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