# File lib/oniguruma.rb, line 327
   def to_index symbol
      @named_captures && @named_captures[symbol]
   end