You have a different problem in your code. Files can match
multiple times, in fact, any file that matches 'F:/dean/'
will also match 'dean'. But since you let the other of the
clauses be determined by keys(), it might be that in one run
of your program a file that matches 'F:/dean/' will be mirrorred to C:\test, and in another run 'rel_file|stat_8' will be returned.
Abigail
Comment on Re: Returning regexp pattern that was used to match
Yup, I'm aware of that. That will be in the documentation and come down to user discretion of use. <grinning> The features will be build in however. It would be recommended to the user to create different objects or even seperate programs to do different tasks and not to mix mirroring with deletions, sync'ing with copying etc. But it will all be bundled in the same module and interface.