Sometimes a regex is overkill.
!/^\.\.?\z/.
Less readable, but faster and shorter.
- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.
In reply to Re: •Re: Re: Create a list of directories without . and ..
by Juerd
in thread Create a list of directories without . and ..
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |