fix for previous commit of regular expressions in Index.rb