http://qs1969.pair.com?node_id=11137304


in reply to Re^2: Is it safe to use external strings for regexes?
in thread Is it safe to use external strings for regexes?

Or maybe Regexp::Common if you have to infer the data type from its form.