-
Notifications
You must be signed in to change notification settings - Fork 0
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
Strange snaked versions of pluralized acronyms #1
Comments
Guess it's fine if we make a v2 🤷 |
Heh, ya, that's a funny one. I'm not sure any strategy is always going to be right. Shouldn't that variable be |
All that said, I can't really think of any other cases of plural acronyms but I suppose special casing that wouldn't be the worst thing in the world. Alternatively we could add a tag to let the user explicitly pick their snake case. |
I think I'd lean toward a tag rather than try to be too clever... the algorithm is correct for other (contrived) examples that happen to not be acronyms.. e.g.
|
|
Not sure I follow what you mean by leaving off the netmask.. it's a list of IP addresses and IP blocks defined by address+mask |
I'm saying a "network" usually is IP + netmask, so while using the term network wouldn't be technically correct for IPs we could ask for forgiveness. |
Ah ok - am gonna rename to |
I don't know how safe it would be to tinker with
CamelToSnake
now butDisallowedIPs
snakes todisallowed_i_ps
so the Mailroom env variable isMAILROOM_DISALLOWED_I_PS
The text was updated successfully, but these errors were encountered: