Merge branch 'master' into Fix_snake_snippet
This commit is contained in:
@ -16,8 +16,8 @@ def snake(str):
|
||||
```
|
||||
|
||||
```py
|
||||
snake('camelCase'); # 'camel_case'
|
||||
snake('some text'); # 'some_text'
|
||||
snake('some-mixed_string With spaces_underscores-and-hyphens'); # 'some_mixed_string_with_spaces_underscores_and_hyphens'
|
||||
snake('AllThe-small Things'); # "all_the_smal_things"
|
||||
snake('camelCase') # 'camel_case'
|
||||
snake('some text') # 'some_text'
|
||||
snake('some-mixed_string With spaces_underscores-and-hyphens') # 'some_mixed_string_with_spaces_underscores_and_hyphens'
|
||||
snake('AllThe-small Things') # "all_the_smal_things"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user