Syntactic Confectionery Delight | |
PerlMonks |
Re^2: Regexp: Match anything except a certain wordby ikegami (Patriarch) |
on Apr 21, 2006 at 19:21 UTC ( [id://544970]=note: print w/replies, xml ) | Need Help?? |
Close. You missed the "unless they already have a target" condition specified by the OP. For example,
<a href="http://example.com" target="foo">here</a> shouldn't change, but it becomes <a href="http://example.com" target="_target">here</a> Update: Added example.
In Section
Seekers of Perl Wisdom
|
|