From: Robert La ferla Date: 2006-07-29T05:56:33+09:00 Subject: Regex for whitespace plus vertical bar I am trying to quote arguments that have whitespace or a pipe (vertical bar character = | ) in them. Why doesn't this work? What does work? if arg.index(/[\s|]/) ... end -- Posted via http://www.ruby-forum.com/.