pub(crate) fn from_escaped(globals: &mut Globals, escaped_str: &str) -> Result<Self, Error> {
        let string = regex::escape(escaped_str);
        RegexpInfo::from_string(globals, &string)
    }
Create `RegexpInfo` from `escaped_str` escaping all meta characters.
ruruby/src/builtin/regexp.rs