Cheers,while ($string =~ /([^"]*)"([^"]*)"(.*)/g) { push @result, ((split " ", $1), $2); $string = $3; } push @result, split " ", $string if $string;
In reply to (Ovid) Re: Another for those who love the Regular Expression questions...
by Ovid
in thread Another for those who love the Regular Expression questions...
by Hot Pastrami
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |