amazing import spam

This commit is contained in:
reisenlol 2026-01-28 01:22:27 -08:00
parent 655a116647
commit 3160bff7a3
No known key found for this signature in database
1016 changed files with 801 additions and 51 deletions

View file

@ -0,0 +1,10 @@
using System.Text.RegularExpressions;
namespace Dan
{
public static class ExtensionMethods
{
public static string SplitByUppercase(this string str) =>
Regex.Replace(str, @"(\B[A-Z]+?(?=[A-Z][^A-Z])|\B[A-Z]+?(?=[^A-Z]))", " $1");
}
}