Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have been able to generate &[^amp;] for my patern, but this negates matching on &a, &m, &p, &; which I would like to find.... I tried &[^a][^m][^p][^;], but that still blocks &a
How on earth do I do this?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: using regex to not match a string
by Tanktalus (Canon) on Apr 18, 2005 at 23:52 UTC | |
|
Re: using regex to not match a string
by tlm (Prior) on Apr 18, 2005 at 23:51 UTC |