diff --git a/src/Humanizer/InflectorExtensions.cs b/src/Humanizer/InflectorExtensions.cs index 061af74cc..90317439c 100644 --- a/src/Humanizer/InflectorExtensions.cs +++ b/src/Humanizer/InflectorExtensions.cs @@ -70,11 +70,8 @@ public static string Titleize(this string input) /// "This has a space" -> "ThisHasASpace" if true /// public static string Pascalize(this string input) - { - + { return Regex.Replace(input, "(?:^|_| +)(.)", match => match.Groups[1].Value.ToUpper()); - - //return Regex.Replace(input, @"\s+", ""); } ///