Dear fellows! I must be real tired or something that I am missing. I am trying to figure-out why in the world this would not match:
#!/usr/bin/perl -w $n = 'some test here whatever... <a href="read.cgi?do.htm"><img src="images/431.png" border=0 width=109 height=250</a>'; $n =~ s/(<a )(.*?)(<\/a>)/$&/; $r = "$&"; $n =~ s/$r/IMAGE2/s; the whole links with image would not match in $n Any ideas? Thanks!
[edited by: phranque at 6:29 am (utc) on Feb 7, 2010] [edit reason] disabled graphic smileys ;) [/edit]