initial commit

This commit is contained in:
2026-06-03 20:24:57 -07:00
commit e2ad15fa64
37 changed files with 3092 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
using System.Text.RegularExpressions;
namespace lxc_songlist.Services;
public static partial class TextNormalizer
{
public static string DisplayText(string value)
{
return WhitespaceRegex().Replace(value.Trim(), " ");
}
public static string Key(string value)
{
return DisplayText(value).ToLowerInvariant();
}
[GeneratedRegex(@"\s+")]
private static partial Regex WhitespaceRegex();
}