apply

fun apply(doc: Text): Text

Apply the changes to a document, returning the modified document.