A note on your comment:
Since you want "1234 221", not "1234", which is what that regex will capture
The code I posted does work (because it takes n trips through the while() loop), and pulls in both 1234 and 221 into @args. It's just uglier than I wanted.
Thanks all !
In reply to Re: Re: Parsing arguments with surrounding garbage.
by kschwab
in thread Parsing arguments with surrounding garbage.
by kschwab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |