> > Are the $1, $`, $&, etc... variables within a gsub block truely 
> global, or
> > are they some type of special value local to the block?
> 
> They are actually per-thread variables, meaning they look like global 
> variables, but each thread maintains its own separate set of values for 
> them.
> 

Thanks everyone for the quick response.

Steve