REGEX-Escape for:
$Globals::stats4lox->{s4ltmp}

Your Input:

Ads

Result, the escaped string:

\$Globals\:\:stats4lox\-\>\{s4ltmp\}

Ads

What must the escaping look like for:
$Globals::stats4lox->{s4ltmp}

The escaped text for use in a regex is:

\$Globals\:\:stats4lox\-\>\{s4ltmp\}


Ads