Skip to content

Variable: CUSTOM_EMOJI_TOKEN_PATTERN_SOURCE ​

ts
const CUSTOM_EMOJI_TOKEN_PATTERN_SOURCE: ":([a-zA-Z0-9][a-zA-Z0-9_-]{1,31}):";

Defined in: types/const.ts:325

Build a fresh global RegExp from this source so consumers do not share lastIndex.

Released under the GNU Affero General Public License v3.0.