# File lib/oniguruma.rb, line 469
   def offset(*idx)
      if idx[0].is_a?(Symbol) 
         k = to_index( idx[0] )
         k && old_offset(k)
      elsif idx.empty?
         old_offset( 0 )
      else
         old_offset(*idx)
      end
   end