Skip to content

Commit 897ab54

Browse files
committed
Support dot as incoming separator
1 parent 7e2a65a commit 897ab54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Messerli.ChangeCase/StringCaseExtensions.Private.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public static partial class StringCaseExtensions
1313
private const int SingleCharacterSeparatorLength = 1;
1414
private const int TailStart = 1;
1515
private const int CharacterNotFound = -1;
16-
private static readonly char[] NameSeparators = { '-', '_' };
16+
private static readonly char[] NameSeparators = { '-', '_', '.' };
1717

1818
private delegate Option<SplitResult> ExtractElement(string identifier, int startIndex);
1919

0 commit comments

Comments
 (0)