mirror of
https://github.com/stoatchat/javascript-client-sdk.git
synced 2026-08-26 23:11:16 -04:00
fix: Normalize regex format (#188)
* fix: Normalize regex format Signed-off-by: Pecacheu <3608878+Pecacheu@users.noreply.github.com> * fix: ULID is missing some letters Signed-off-by: Pecacheu <3608878+Pecacheu@users.noreply.github.com> --------- Signed-off-by: Pecacheu <3608878+Pecacheu@users.noreply.github.com>
This commit is contained in:
+3
-3
@@ -1,17 +1,17 @@
|
||||
/**
|
||||
* Regular expression for mentions.
|
||||
*/
|
||||
export const RE_MENTIONS = /<@([0-9ABCDEFGHJKMNPQRSTVWXYZ]{26})>/g;
|
||||
export const RE_MENTIONS = /<@([ABCDEFGHJKMNPQRSTVWXYZ\d]{26})>/g;
|
||||
|
||||
/**
|
||||
* Regular expression for channels.
|
||||
*/
|
||||
export const RE_CHANNELS = /<#([0-9ABCDEFGHJKMNPQRSTVWXYZ]{26})>/g;
|
||||
export const RE_CHANNELS = /<#([ABCDEFGHJKMNPQRSTVWXYZ\d]{26})>/g;
|
||||
|
||||
/**
|
||||
* Regular expression for stripping custom emojis.
|
||||
*/
|
||||
export const RE_CUSTOM_EMOJI = /:([0-9ABCDEFGHJKMNPQRSTVWXYZ]{26}):/g;
|
||||
export const RE_CUSTOM_EMOJI = /:([ABCDEFGHJKMNPQRSTVWXYZ\d]{26}):/g;
|
||||
|
||||
/**
|
||||
* Regular expression for spoilers.
|
||||
|
||||
Reference in New Issue
Block a user