pub(crate) fn regexp_from_escaped_string(
        &mut self,
        string: &str,
    ) -> Result<RegexpInfo, RubyError> {
        RegexpInfo::from_escaped(&mut self.globals, string).map_err(VMError::regexp)
    }
Create fancy_regex::Regex from `string`.
Escapes all regular expression meta characters in `string`.
Returns RubyError if `string` was invalid regular expression.
ruruby/src/vm/executor.rs