MCPcopy Create free account
hub / github.com/FSoft-AI4Code/CodeText-parser / camel_case_split

Function camel_case_split

src/codetext/clean/noise_removal.py:696–698  ·  view source on GitHub ↗
(identifier)

Source from the content-addressed store, hash-verified

694
695
696def camel_case_split(identifier):
697 matches = re.finditer(r'.+?(?:(?<=[a-z])(?=[A-Z])|(?<=[A-Z])(?=[A-Z][a-z])|$)', identifier)
698 return [m.group(0) for m in matches]
699
700
701def snake_case_split(identifier):

Callers 1

split_all_sepcial_caseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected