Str.quote is actually safe anyway. We'd probably want to get rid of it anyway to make sure we aren't linking against re_str.