human
Python Regex Split Keeps Split Pattern Characters
assistant
Here is some code to split a string `Docs/src/Scripts/temp` by `/` keeping `/` in the result

"""Docs/src/Scripts/temp""".replace('/', '/\x00/').split('\x00')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.