Well, that's a bit difficult as you didn't tell us what's going wrong :(
But there's one thing that leaps out at me, you need to use last to break out of a loop
try giving us an example of what's happening & what you expect
In reply to Re: Pattern Match is not working
by RichardK
in thread Pattern Match is not working
by Lancy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |