my @words = /("[^"]*"|'[^']*'|\S+)/g; [download]
-- Randal L. Schwartz, Perl hacker
In reply to Re: Parsing, tokens and strings by merlyn in thread Parsing, tokens and strings by Anonymous Monk