Provides an equivalent to Regexp::try_convert fo several other core classes.
Matthew Kerwin
ISC License