Quote:
Originally Posted by NiLuJe
@baskerville: Yep, I should have made that clearer. Would your example work, given the "sandwich", or would that need some trickery like @frostschutz did?
|
I don't know, I didn't get @frostschutz trickery.
EDIT: I understand @frostschutz hack now: the sandwiched regexp matches
any path with a hidden directory/file. I prefer not to play with fire here and just cooperate with the sandwich. I've tested my regexp and it seems to work fine.
Quote:
Originally Posted by NiLuJe
EDIT: If I put my brain in "regexp mode", I think it looks fine for that purpose, but I haven't tested it  . (i.e., accepts zero or more "classic" directories in front of an hidden one).
|
Yes.
Quote:
Originally Posted by NiLuJe
EDITē: The first group might fail to match for a single-character folder name, though, right?
|
Oops, fixed in the original post.