Fix sports regex

$interval variables were null because global directive does not
take values from parent function but from global variables.