Sorry, I forgot ...

> PS: The one major headache still left in regard of globbing patterns is
> that it's still not possible write a single pattern which matches the
> file "tmp" in the top-level directory and any subdirectory...
> './**/tmp' won't match './tmp' while './**tmp' will match much more...
> (Any file ending with "tmp".) However, as fsvs relies on "./" as the
> start of a pattern, I had no good idea of how to fix it...

I believe that's something that has to be changed, too ...
Currently we substitute "**" to ".*".
If we checked for "/**/" and replaced that with ".*" it wouldn't work ...
"a/**/b" would match "ab" too.

So we'd have to special-case "**/" to ".*"? Hmmm, doesn't work, too
"a/**/b" would match "a/XXXb" too.
So we'd need "/**/" => "/(.*/)?" ...
That's a special-case -- because /**/ is a special case of possibly
(near-) 0-byte length ...
Is that correct?


Regards,

Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to