rewrite builtin
rewrite(text)
Replaces the whole source with new text; the pipeline repeats until the text stops changing.
| Phase | all |
|---|
Example
@tt
rewrite(replace(source(), "OLD", "NEW"))rewrite builtinrewrite(text)
Replaces the whole source with new text; the pipeline repeats until the text stops changing.
| Phase | all |
|---|
@tt
rewrite(replace(source(), "OLD", "NEW"))