From: Gaspard Bucher Date: 2008-05-13T22:08:30+09:00 Subject: disable regexp warning Hi there ! Is there a way to disable regexp warning ? I want to do this: begin re = /#{str}/ rescue # invalid regexp return "invalid regexp #{str.inspect}" end without having tons of messages printed on stderr. Any clue ? Thanks, Gaspard