For 26 strokes:
# 1 2 #2345678901234567890123456 map/(.+?)\s*(?>:|$)/,@list
Update: Also eliminating lines that contain just a colon and optional whitespace. 28 strokes:
# 1 2 #234567890123456789012345678 map/(.+?)\b\s*(?>:|$)/,@list
— Arien
In reply to Re: golf anyone? (taking first field)
by Arien
in thread golf anyone? (taking first field)
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |