in reply to Re: Re: Re: Why doesn't non-greediness work?
in thread Why doesn't non-greediness work?

Please familiarize yourself with the quoting rules in Perl. All of the following work as well:
$body =~ ss<img(.+?)="Wink">s;)sg; $body =~ s$<img(.+?)="Wink">$;)$g; $body =~ s,<img(.+?)="Wink">,;),g; $body =~ s[<img(.+?)="Wink">]\;)\g; $body =~ s}<img(.+?)="Wink">}{;)}g; $body =~ s&<img(.+?)="Wink">&;)&g; # .. ad nauseam

Makeshifts last the longest.