Search found 2 matches

by d05register
28 Jun 2022, 01:32
Forum: General Discussion
Topic: Greedy - non-greedy matches or differentiation between full path-filename only
Replies: 3
Views: 1165

Re: Greedy - non-greedy matches or differentiation between full path-filename only

No. In include list it misses my main goal the 01* files e.g. case 3

1. \foo\01 myFolder\01 myFile.txt
2. \foo\01 myFolder\other File.txt
3. \foo\other Folder\01 myFile.txt

In exclude list I would need something like \01*\?!01* i.e. exclude only case 2 (01 folder\not 01 file)
by d05register
27 Jun 2022, 17:27
Forum: General Discussion
Topic: Greedy - non-greedy matches or differentiation between full path-filename only
Replies: 3
Views: 1165

Greedy - non-greedy matches or differentiation between full path-filename only

Could you implement a non-greedy matching? I want to copy 01* files e.g only the 1st in this example

\foo\01 myFolder\01 myFile.txt
\foo\01 myFolder\other File.txt

If I include *\01* it matches the folder also so it copies all the files
If I add an exclude *\01*\ to exclude the folder only it ...