in reply to Re^3: Unpack Many Fields
in thread Unpack Many Fields

Not at all. For starters,

s/(?:#.*)|\n|\s//g

is the same as

s/#.*|\s//g

Secondly, spaces are allowed in the pattern, so your change is unwarranted.

Finally, comments are allowed in the pattern, so you don't need the substitution at all.

Replies are listed 'Best First'.
Re^5: Unpack Many Fields
by shoness (Friar) on Feb 16, 2010 at 02:54 UTC
    Spaces AND NEWLINES are accepted in the pattern! Cool.
    That's why you're the boss! ++

    Cheers!