while ($input =~ s/(.*?)(<.*?>)//) { $w=$1; $q=$2; 1 while $q =~ s/(--.*?)-(.*?-->)/$1¬$2/sg; $output .= "$w$q"; }
In reply to Re: Golf: Fix de facto HTML comments
by Wassercrats
in thread Golf: Fix de facto HTML comments
by tye
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |