Recently I had the need to split paths like _PathSplit outside of AutoIt.
Regular expressions seemed to be the way to go and it was fun to learn a bit more about their power.
I backported it to AutoIt and now use it instead of _PathSplit.
This should match any combination of:
servershare[$] | Drive
It only returns an array (returning strings via byref aswell seemed a tad overkill / messy)
The Drive letter retains its trailing "" NOT the path (this