Remove unnecessary "one or more" operator in RE_EMOJI

pull/816/head
kate! 2022-11-09 16:24:49 +08:00
parent a3f48ea91a
commit 302b796465
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ const Emoji = styled.img`
}
`;
const RE_EMOJI = /:([a-zA-Z0-9\-_+]+):/g;
const RE_EMOJI = /:([a-zA-Z0-9\-_]+):/g;
const RE_ULID = /^[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$/;
export function RenderEmoji({ match }: CustomComponentProps) {