case
case copied to clipboard
handle abbr. in to_snake
to_snake
shouldn't insert underscore inside an abbr
, for example.
assert_eq!(&"DOMDebugger".to_snake(), "dom_debugger");
assert_eq!(&"IndexedDB".to_snake(), "indexed_db");