From 6ab5e441124ce0a6a91df70f3c0ef4a7fa990cbb Mon Sep 17 00:00:00 2001 From: Josh Patra Date: Wed, 4 Feb 2026 15:33:59 -0500 Subject: [PATCH] Fix apostrophe normalization syntax error - use Unicode escape sequences --- allstarr/Services/Common/FuzzyMatcher.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/allstarr/Services/Common/FuzzyMatcher.cs b/allstarr/Services/Common/FuzzyMatcher.cs index 1615994..fb86c14 100644 --- a/allstarr/Services/Common/FuzzyMatcher.cs +++ b/allstarr/Services/Common/FuzzyMatcher.cs @@ -76,10 +76,10 @@ public static class FuzzyMatcher // Normalize different apostrophe types to standard apostrophe normalized = normalized - .Replace(''', '\'') // Right single quotation mark - .Replace(''', '\'') // Left single quotation mark - .Replace('`', '\'') // Grave accent - .Replace('´', '\''); // Acute accent + .Replace("\u2019", "'") // Right single quotation mark (') + .Replace("\u2018", "'") // Left single quotation mark (') + .Replace("`", "'") // Grave accent + .Replace("\u00B4", "'"); // Acute accent (´) // Normalize whitespace normalized = System.Text.RegularExpressions.Regex.Replace(normalized, @"\s+", " ");