Function design_pattern_examples_rust::command::operation_replace
source · fn operation_replace(
text: &mut CommandTextObject,
search_pattern: &str,
replace_text: &str
)
Expand description
An operation to search and replace text in a CommandTextObject.
Parameters
-
text
The CommandTextObject to affect.
-
search_pattern
What to look for in the CommandTextObject.
-
replace_text
What to replace
search_pattern
with.