# File lib/rack/mount/vendor/regin/regin/group.rb, line 5 def initialize(expression, options = {}) @quantifier = @index = @name = nil @capture = true @expression = expression.dup(options) @quantifier = options[:quantifier] if options.key?(:quantifier) @lookahead = options[:lookahead] if options.key?(:lookahead) @capture = options[:capture] if options.key?(:capture) @index = options[:index] if options.key?(:index) @name = options[:name] if options.key?(:name) end