pub(crate) fn replace_all_precheck( it: &mut Interp, rx: &Value, ) -> Result<(), Value>
replaceAll の前段(g のない RegExp 風の引数は TypeError)。
replaceAll
g