have you ever considered Parse::RecDescent? you can use regexp for matching, and it's grammar for your logic.
Oha
In reply to Re: Regular expression question strikes again
by oha
in thread Regular expression question strikes again
by jesuashok
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |