in reply to Re: In need of a stupid regex trick
in thread In need of a stupid regex trick

This seems to work but it still needs something extra besides a regex :(

my $str='one "two three" four five "six seven eight" nine'; my @list=grep defined, $str=~/"([^"]*)"|(\S+)/g; print join "\n", @list;

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law