Skip to main content

Function: createTwemojiRegex()

createTwemojiRegex(): RegExp

Creates a fresh instance of the Twemoji regex, which is useful if you don't want to worry about the effects of a global regex and the lastIndex

Returns

RegExp

A clone of the Twemoji regex

Defined in

node_modules/@sapphire/discord-utilities/dist/esm/index.d.mts:985