alias checksteam {
if ($regex($1-,/^STEAM_[01]:[01]:\d{2,10}$/) > 0) {
return $true
}
return $false
}
Any reason why this always returns $false? Even if a string matching the Regex is provided as the argument? Indeed, how can I get this to perform "as expected" for the regex:
/^STEAM_[01]:[01]:\d{3,11}$/
I've tried using "$+ $chr(x) $+" in place of [, : and ] -- didn't get me anywhere.
Thanks in advance,
Alex.