# File lib/support/extended_regexp.rb, line 45
      def new_options(option_string)
        options_list = []
        { :i => Regexp::IGNORECASE,
          :x => Regexp::EXTENDED,
          :m => Regexp::MULTILINE }.each_pair do |charcode, constant|
          options_list.push(constant) if option_string =~ /#{charcode.to_s}/i
        end

        self.class.new(self.source, options_list)
      end