in reply to Which witch is the quicker witch?

Your regex will be slower as it has to a lot more thinking due to back-tracking and capturing and the like, whereas split just zips through the provided string returning chunks at \s+ intervals. As for getting information on files the opendir and readdir functions will be very useful in conjunction with the -x operators.
HTH

_________
broquaint