in reply to Re^3: Regex question
in thread Regex question

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.


s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
+.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e