Last active
May 17, 2020 07:00
-
-
Save sanjitk7/a57fdd11d1036fe75925ce7face975e0 to your computer and use it in GitHub Desktop.
Function to Split Camel Case Keyword
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def camelCaseSplit(word): | |
if (isCamelCase(word)): | |
return re.split(r"(?=[A-Z])", word) | |
else: | |
return [] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment