Indeed! I mixed it up, not you.
But your fix doesn't help with:
$var2='1.1'; $var1='1.1';
It will give you a false negative ;-) See my solution above which handle both cases.
In reply to Re^4: Regex question
by Skeeve
in thread Regex question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |