laziness, impatience, and hubris | |
PerlMonks |
Re: Ignore ALL characters and delete?by Wonko the sane (Deacon) |
on May 13, 2003 at 20:14 UTC ( [id://257884]=note: print w/replies, xml ) | Need Help?? |
The link is not getting deleted because the pattern is never found in the file. This is because of the meta characters in the link. To make sure that any special meta characters are escaped in your regex you need the \Q an \E operators. Try using this as your regex, then the you should be able to find the link.
Wonko
In Section
Seekers of Perl Wisdom
|
|