kkpyutil 1.46.2__py3-none-any.whl → 1.46.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kkpyutil
3
- Version: 1.46.2
3
+ Version: 1.46.3
4
4
  Summary: Building blocks for sysadmin and DevOps
5
5
  Home-page: https://github.com/kakyoism/kkpyutil/
6
6
  License: MIT
@@ -0,0 +1,7 @@
1
+ kkpyutil.py,sha256=h2KKvUcZTM74pjkL2KvvyMV_CXcDge_ja7q9sw_h-wE,117739
2
+ kkpyutil_helper/windows/kkttssave.ps1,sha256=xa3-WzqNh2rGYlOx_I4ewOuCE94gkTO5cEwYH0M67_0,446
3
+ kkpyutil_helper/windows/kkttsspeak.ps1,sha256=7WUUHMmjTQroUWA2Mvdt4JtSt475nZUHQx-qP-7rS6o,305
4
+ kkpyutil-1.46.3.dist-info/LICENSE,sha256=uISevGnCxB5QOU0ftbofN75_yUtd6E2h_MWE1zqagC8,1065
5
+ kkpyutil-1.46.3.dist-info/METADATA,sha256=TXUYS0Ku1IivEFnou6JYbPhV-zCdFc6tatzDLqiwlfE,1136
6
+ kkpyutil-1.46.3.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
7
+ kkpyutil-1.46.3.dist-info/RECORD,,
kkpyutil.py CHANGED
@@ -1795,13 +1795,13 @@ def convert_compound_cases(text, style='pascal', instyle='auto'):
1795
1795
 
1796
1796
  def _detect_casing(txt):
1797
1797
  case_patterns = {
1798
- 'snake': r'^[a-zA-Z][a-zA-Z0-9\(\)]*(_[a-zA-Z0-9\(\)]+)+$', # Must have at least one underscore
1799
- 'SNAKE': r'^[A-Z][A-Z0-9\(\)]*(_[A-Z0-9\(\)]+)*$',
1798
+ 'snake': r'^[a-zA-Z][a-zA-Z0-9()]*(_[a-zA-Z0-9()]+)+$', # Must have at least one underscore
1799
+ 'SNAKE': r'^[A-Z][A-Z0-9()]*(_[A-Z0-9()]+)+$',
1800
1800
  'camel': r'^[a-z]+([A-Z][a-z0-9]*)*$',
1801
1801
  'kebab': r'^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)+$',
1802
1802
  'pascal': r'^[A-Z][a-z0-9]+([A-Z][a-z0-9]*)*$',
1803
1803
  'phrase': r'^[a-z]+( [a-z]+)*$',
1804
- 'title': r'^[A-Z][a-z]*( [A-Z\(][a-z\)]*)*$',
1804
+ 'title': r'^[A-Z(][a-zA-Z0-9()/*]*( [A-Z(][a-zA-Z0-9()/*]*)*$',
1805
1805
  }
1806
1806
  for case_style, pattern in case_patterns.items():
1807
1807
  if re.match(pattern, txt):
@@ -1,7 +0,0 @@
1
- kkpyutil.py,sha256=4lH441A7dw-nJU_lUcc7Go8CkRMWj9qhJ4BVb5vH__k,117729
2
- kkpyutil_helper/windows/kkttssave.ps1,sha256=xa3-WzqNh2rGYlOx_I4ewOuCE94gkTO5cEwYH0M67_0,446
3
- kkpyutil_helper/windows/kkttsspeak.ps1,sha256=7WUUHMmjTQroUWA2Mvdt4JtSt475nZUHQx-qP-7rS6o,305
4
- kkpyutil-1.46.2.dist-info/LICENSE,sha256=uISevGnCxB5QOU0ftbofN75_yUtd6E2h_MWE1zqagC8,1065
5
- kkpyutil-1.46.2.dist-info/METADATA,sha256=AeBu4F5_W8uG5Jrw4wQv5dZPgrrL7WMZprOFmAHWB5o,1136
6
- kkpyutil-1.46.2.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
7
- kkpyutil-1.46.2.dist-info/RECORD,,