mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	The inner capture group of Slack text regex is used to capture the formatted text, so basically all characters but the formatting characters like *, ~, and _. It currently does this by specifying a range of characters to be captured except the formatting characters. This unintentionally excluded non-ASCII characters like emoji. This commit simplifies the inner capture groups of the Slack text regex to explicitly exclude formatting characters (e.g., *, ~, _) instead of using an allowlist to not include them. This change is part of the effort to make `convert_to_zulip_markdown` compatible with output from `render_blocks` and `render_attachments`, which may contain emoji.