pub fn replace_block( source: &str, block_name: &str, replacement: &str, ) -> Result<TextPatch, TextPatchError>