can be reduced toprint"$f-",substr($s,length+(("$f"^"$s")=~/(\0*)/)[0]),"\n";
print"$f-",substr($s,/\0*/g&&pos),"\n"for("$f"^"$s");
In reply to Golf: eliding number ranges
by Roy Johnson
in thread eliding number ranges
by qq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |