since you are not using $1, dont make perl go through the trouble of storing it to return it. the ?: says look for this but dont hang on to it.m/^(?:administrator|etc|yadda|blah)/;
In reply to Re: Re: Code review: validation regexes
by l2kashe
in thread Code review: validation regexes
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |