Assert that text is present once; nothing changes.
text
Remove oldText, found once after the cursor.
oldText
Optional
Insert text after anchor.
anchor
One anchored pattern.
anchor, old → new, anchor in one call.
Assert that
textis present once; nothing changes.