in reply to Re: Re: Prune File Find search
in thread Prune File Find search
See. your local perlre for more info on alternations (the | metacharacter), and anchors (as seen by the ^ and $ in the regexp).preprocess => sub { ## added ^ and $ return grep { not(-d and /^dir(?:One|Two|Three)$/) } @_ },
_________
broquaint
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Prune File Find search
by Anonymous Monk on Jul 28, 2003 at 16:33 UTC |