Am Freitag, 27. Oktober 2006 14:13 schrieb Ph. Marek: > > is that it's still not possible write a single pattern which matches > > the file "tmp" in the top-level directory and any subdirectory...
> Currently we substitute "**" to ".*". > That's a special-case -- because /**/ is a special case of possibly > (near-) 0-byte length ... > Is that correct? Sounds plausible and should work. Another idea would be to introduce another prefix for globbing patterns... I'm not sure which aapproach would be best, but I think I like the '**/' -> '(.*/)?' idea better. Greetings, Gunter -- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ - "If you're going to suggest I try dropping twenty feet down a pitch dark tower in the hope of hitting a couple of greasy little steps which might not even still be there, you can forget it," said Rincewind sharply. - "There is an alternative, then." - "Out with it, man." - "You could drop five hundred feet down a pitch black tower and hit stones which certainly are there," said Twoflower. Dead silence from below him. Then Rincewind said, accusingly, "That was sarcasm." -- (Terry Pratchett, The Light Fantastic) +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + PGP-verschlüsselte Mails bevorzugt! + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
pgpwojLFqynkU.pgp
Description: PGP signature
