cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Upayavira">
Subject Re: DirectoryGenerator source-oriented refactoring
Date Thu, 10 Jul 2003 10:50:39 GMT
On 10 Jul 2003 at 12:32, Sylvain Wallez wrote:

> And while we're at refactoring, what do you think of having separate
> regexps for directories and files ? This would be really useful since
> their respective naming rules are totally different. E.g. if I want
> only .xml files, the regexp has to be "^[^.]*$|\.xml$", which looks
> quite ugly when the file regexp would simply be "\.xml$".

Someone asked about that recently, and I think they were told that it wasn't needed. 
But I think it is an obvious thing to add. I has always been a pain coming up with the 
necessary regexp to include certain directories but include other files, all in a single 

Regards, Upayavira

View raw message