Re: [VFS] invert matches for PatternFileSelector

2017-01-20 Thread Gary Gregory
Another twist would be to have an InvertingFileSelector that just inverts the result of a delegate FileSelector: new InvertingFileSelector(new PatternFileSelector("MyRegEx")) Gary On Fri, Jan 20, 2017 at 7:43 AM, Bernd Eckenfels wrote: > Hello, > I guess that could be

Re: [VFS] invert matches for PatternFileSelector

2017-01-20 Thread Bernd Eckenfels
Hello, I guess that could be helpful. Keep in mind that the selector not only selects the elemements to match but also the directory hierarchy to travers, so composition can be a bit tricky. Gruss Bernd -- http://bernd.eckenfels.net On Fri, Jan 20, 2017 at 5:21 AM +0100, "Gary Gregory"

Re: [VFS] invert matches for PatternFileSelector

2017-01-20 Thread sebb
I don't know VFS, but if you can chain selectors, then I think you just need a Not-selector. This would work with any selector, not just PFS On 20 January 2017 at 04:21, Gary Gregory wrote: > Hi All, > > Just like grep has a setting called --invert-match I'd like to have

[VFS] invert matches for PatternFileSelector

2017-01-19 Thread Gary Gregory
Hi All, Just like grep has a setting called --invert-match I'd like to have a setting like that for the PatternFileSelector class. Thoughts for or against? Gary -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org Java Persistence with Hibernate, Second Edition