Is that remotely close to what you're attempting?my $text = 'command: cmd arg1 arg2;'; # if Schwern ever reads this, he'll be impressed chop $text; my ($command, $cmd, @args) = split(' ', $text);
In reply to Re: single regexp to match a defined STDIN
by chromatic
in thread single regexp to match a defined STDIN
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |