

'''simple docstring'''
import re


def        _lowerCAmelCase					(						_UpperCamelCase						:     str				)      ->			list:
     """simple docstring"""




     return [char.split() for char in re.split(r'[^ a-z A-Z 0-9 \s]'							, str_				)]


def        _lowerCAmelCase					(						_UpperCamelCase						:     str				)      ->			str:
     """simple docstring"""




     _SCREAMING_SNAKE_CASE							    =split_input(str_				)
     return "".join(
         [''.join([char.capitalize() for char in sub_str]				) for sub_str in string_split]				)


def        _lowerCAmelCase					(						_UpperCamelCase						:     str							, _UpperCamelCase						:     bool							, _UpperCamelCase						:     str				)      ->			str:
     """simple docstring"""




     try:
          _SCREAMING_SNAKE_CASE							    =split_input(_UpperCamelCase				)
          if upper:
               _SCREAMING_SNAKE_CASE							    =''.join(
                   [
                       separator.join([char.upper() for char in sub_str]				)
                       for sub_str in string_split
                   ]				)
          else:
               _SCREAMING_SNAKE_CASE							    =''.join(
                   [
                       separator.join([char.lower() for char in sub_str]				)
                       for sub_str in string_split
                   ]				)
          return res_str
     except IndexError:
          return "not valid string"


def        _lowerCAmelCase					(						_UpperCamelCase						:     str				)      ->			str:
     """simple docstring"""




     return to_simple_case(_UpperCamelCase				)


def        _lowerCAmelCase					(						_UpperCamelCase						:     str				)      ->			str:
     """simple docstring"""




     try:
          _SCREAMING_SNAKE_CASE							    =to_simple_case(_UpperCamelCase				)
          return res_str[0].lower() + res_str[1:]
     except IndexError:
          return "not valid string"


def        _lowerCAmelCase					(						_UpperCamelCase						:     str							, _UpperCamelCase						:     bool				)      ->			str:
     """simple docstring"""




     return to_complex_case(_UpperCamelCase							, _UpperCamelCase							, '_'				)


def        _lowerCAmelCase					(						_UpperCamelCase						:     str							, _UpperCamelCase						:     bool				)      ->			str:
     """simple docstring"""




     return to_complex_case(_UpperCamelCase							, _UpperCamelCase							, '-'				)


if __name__ == "__main__":
     __import__("doctest").testmod()








# this script reports modified .py files under the desired list of top-level sub-dirs passed as a list of arguments, e.g.:
#   python ./utils/get_modified_files.py utils src tests examples
#
# it uses git to find the forking point and which files were modified - i.e. files not under git won't be considered
# since the output of this script is fed into Makefile commands it doesn't print a newline after the results

import re
import subprocess
import sys


lowerCamelCase	:							Optional[Any]				=subprocess.check_output('''git merge-base main HEAD'''.split()).decode('''utf-8''')
lowerCamelCase	:							str				=subprocess.check_output(F"""git diff --name-only {fork_point_sha}""".split()).decode('''utf-8''').split()

lowerCamelCase	:							List[Any]				='''|'''.join(sys.argv[1:])
lowerCamelCase	:							str				=re.compile(RF"""^({joined_dirs}).*?\.py$""")

lowerCamelCase	:							Optional[int]				=[x for x in modified_files if regex.match(x)]
print(''' '''.join(relevant_modified_files), end='''''')