Add ? and ! to word selection in Ruby