Rescue and warning

Hi,
I have an app that gets regexpr from a config file. I check these
using Regexpr.new and use rescue to find any with errors. This works
fine but there are some regexprs that generate waringing. Is there
anyway I can trap these warning at run time?

Russell

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs