-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SnakeCaseNameRewriter with word ending with a digit #27
Comments
/cc @YohDeadfall |
While this looks right in your case, it doesn't in other. For example, /cc @layomia |
Chiming in with another use or test case: Custom3dModel. |
Our use case |
just a data point .... a popular nuget package called Humanizer
|
This is the right answer.... Every snake case conversion drops underscores in before the capital letters except the first one HelloWorld1 => hello_world1 If you need it to be xml2linq then name your property Xml2linq |
SnakeCaseNameRewriter should rewrite
Abc1Def
asabc1_def
but rewrites it asabc1def
.The text was updated successfully, but these errors were encountered: