pub fn find_replace(
pages: &[DocumentRef<'_>],
request: &FindReplaceRequest,
) -> Result<FindReplaceResult, EditError>Expand description
Searches pages and, with request.replace, replaces every match. Fails without changing
anything when request.expected_count differs from the matches found.