Commit 93faadd
BLACKBEARDSOUL
Fix #140: camel_to_snake adds underscore after digits
Fixed regex to add underscore between digit sequences and uppercase letters.
Example: camel_to_snake('python2Thing') now returns 'python2_thing'
instead of 'python2thing'.1 parent c6625dd commit 93faadd
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments