Add String.to_{camel,pascal,snake}_case methods

This commit is contained in:
Danil Alexeev
2022-08-30 12:36:24 +03:00
parent 432b25d364
commit d4555ef5fb
18 changed files with 234 additions and 88 deletions

View File

@ -139,7 +139,7 @@ theme_property_patterns = {
}
# See String::camelcase_to_underscore().
# See String::_camelcase_to_underscore().
capitalize_re = re.compile(r"(?<=\D)(?=\d)|(?<=\d)(?=\D([a-z]|\d))")