That almost worked for my own tests. I switched $CIGAR to $cmd in the elsif statements and it started doing it no matter what combination of I's, D's, or M's.
Thanks for your help! =)
In reply to Re^4: string manipulation with Regex
by bluecompassrose
in thread string manipulation with Regex
by FluffyBunny
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |