1 | camelcase_to_underscore = lambda str: re.sub('(((?<=[a-z])[A-Z])|([A-Z](?![A-Z]|$)))', '_\\1', str).lower().strip('_')
|
More like this
- Human readable file names decorator by maxk 1 year, 1 month ago
- Convert String Uppercase and Lowercase by oraculum 1 year, 1 month ago
- Convert LaTeX templates to various output formats by blizz 5 years, 2 months ago
- SQL Function Decorator by proc 3 years, 9 months ago
- Slugify alternative by exogen 5 years, 1 month ago
Comments