what is the scope of the automatic variables (ie. $1, $2, $3...) from regular expressions?