Ahh yes, for some reason I was thinking that an unset variable was different from one with a zero value, but I guess with the exception of $var() it's the same thing in mIRC.
Thanks for pointing out the regex, I hadn't even noticed it could be a character set.