rookie696 has asked for the wisdom of the Perl Monks concerning the following question:
1) asdf 2) efgh 3) qwerThe problem is i want to download all files except asdf. For this i got two ideas. one way is [^(asdf)]and the other way is ^(?!asdf) I want to know the difference between both. Could some one please explain this ?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: understanding regex
by Athanasius (Archbishop) on Sep 08, 2013 at 06:19 UTC | |
|
Re: understanding regex
by rjt (Curate) on Sep 08, 2013 at 17:37 UTC |