On Tue, Jul 26, 2005 at 09:34:24AM +0200, Robert Penz
wrote:> Hi!
>
> I want to enforce on a samba share, that every file needs to contain a
> version.
>
> like: foobar-02.doc or blah-01.xls
>
> I thought something like
>
> veto files = /^.*\D\D\.(doc|xls|ppt)$/
>
> would to it. But it ignores that. are there any other options?
No, veto files doesn't allow regexps. I decided evaluating the
regexp would be too expensive on every file lookup - we currently
only allow wildcards. If you can show me a patch with regexp support
we can test how expensive it is before accepting it.
Jeremy.