pub fn replace_res_ref(text: &str, old: &str, new: &str) -> (String, usize)
Replace only quote-wrapped res:// refs ("res://old", 'res://old') with the new ref. Bare, unquoted occurrences are left untouched.
res://
"res://old"
'res://old'