Perhaps you want
/\A\.{1,2}\z/ [download]
-- Randal L. Schwartz, Perl hacker
In reply to Re: Perhaps by merlyn in thread Recursive directory scanning by pwhysall