Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I know how to exclude characters with [^], but how do you
exclude strings?
This does not work: /[^(house)]cat/
Thanks..
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: excluding strings in regex
by Ovid (Cardinal) on Apr 09, 2004 at 22:57 UTC | |
|
Re: excluding strings in regex
by Anomynous Monk (Scribe) on Apr 09, 2004 at 23:45 UTC | |
|
Re: excluding strings in regex
by water (Deacon) on Apr 10, 2004 at 02:17 UTC |