The object replace is a method function with options.
The source of this document is in Macaulay2Doc/functions/replace-doc.m2:13:0.