Page 1 of 1

Not sure if it's a bug or if I'm expecting too much

Posted: Thu Mar 25, 2010 1:10 pm
by PYOx
I want to skiplist certain files if there's NOT a certain string in the path.

I want the following to transfer:

/Folder1/Folder2/file.ext

But not
/Folder1/file.ext

I've tried a ton of regex that I'm positive should work, but it always fails to skip. Does FTPRush regex implement lookbehinds etc?


The following regex is working PERL compliant regex to do this.

.*(?<!Folder2\/)file\.ext$

which would allow the first and last paths here, but skip the other two:

/Folder1/Folder2/file.ext
/Folder1/file.ext
/Folder2/Folder1/file.ext
/Folder1/Folder2/Folder1/Folder2/Folder2/file.ext

Someone tell me it's FTPRush's regex failing and not me :D