From 99f94425c2825b6e2f833ee7af6d2bb5ef25ad18 Mon Sep 17 00:00:00 2001 From: Tyrrrz Date: Mon, 26 Jul 2021 17:07:02 +0300 Subject: [PATCH] Stop pluralizing "emoji" as "emojis" --- DiscordChatExporter.Core/Markdown/Parsing/MarkdownParser.cs | 2 +- Readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DiscordChatExporter.Core/Markdown/Parsing/MarkdownParser.cs b/DiscordChatExporter.Core/Markdown/Parsing/MarkdownParser.cs index e69f709..7432074 100644 --- a/DiscordChatExporter.Core/Markdown/Parsing/MarkdownParser.cs +++ b/DiscordChatExporter.Core/Markdown/Parsing/MarkdownParser.cs @@ -156,7 +156,7 @@ namespace DiscordChatExporter.Core.Markdown.Parsing // ... or "miscellaneous symbol" character // ... or surrogate pair // ... or digit followed by enclosing mark - // (this does not match all emojis in Discord but it's reasonably accurate enough) + // (this does not match all emoji in Discord but it's reasonably accurate enough) private static readonly IMatcher StandardEmojiNodeMatcher = new RegexMatcher( new Regex("((?:[\\uD83C][\\uDDE6-\\uDDFF]){2}|[\\u2600-\\u26FF]|\\p{Cs}{2}|\\d\\p{Me})", DefaultRegexOptions), (_, m) => new EmojiNode(m.Groups[1].Value) diff --git a/Readme.md b/Readme.md index 85ca8c2..8059c48 100644 --- a/Readme.md +++ b/Readme.md @@ -76,7 +76,7 @@ The following table lists all available download options: - Support for both user and bot tokens - Support for Discord's dialect of markdown - Support for Discord's message filter syntax -- Support for attachments, embeds, emojis, and other rich media features +- Support for attachments, embeds, emoji, and other rich media features - Multiple output formats: HTML (dark/light), TXT, CSV, JSON - File partitioning, date ranges, and other export options - Exports messages on the fly without buffering in-memory