You can do it all with regular expressions and captures, but I'm not sure why you would want to.
If a proper parsing module is not an option, you could match one token at a time in a loop. From there you could build a recursive descent parser of your own or somesuch.
In reply to Re: Re: Re: Many birds, single cage...
by mr_mischief
in thread Many birds, single cage...
by monsieur_champs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |