Re: empty string as pattern

2005-03-09 Thread Stefan Bodewig
On Mon, 7 Mar 2005, Matt Benson <[EMAIL PROTECTED]> wrote: > When defining a file/dirset, if I want to exclude the > basedir itself I have to use includes="*/**" or some > similar trick. I tried specifying a nested name="" /> but that didn't work. Yes, I ran into the same trap when I modified

empty string as pattern

2005-03-07 Thread Matt Benson
When defining a file/dirset, if I want to exclude the basedir itself I have to use includes="*/**" or some similar trick. I tried specifying a nested but that didn't work. After digging into PatternSet's code I see that we discard zero-length patterns. Does anyone know the historical reason beh