Skip to content

Commit 09f08a6

Browse files
fix(fixer): harden automated fix application
1 parent 6af0f1b commit 09f08a6

3 files changed

Lines changed: 593 additions & 25 deletions

File tree

‎robot-repo-automaton/README.adoc‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,10 @@ The error catalog uses S-expression format (Guile Scheme compatible):
316316
| Apply a line-level transformation. Requires a `modification` field with spec
317317
such as `replace-line:N:content`, `insert-before:N:content`,
318318
`replace-pattern:regex:replacement`, `prepend:content`, or `append:content`.
319+
For `replace-pattern`, the first unescaped colon separates the regex and
320+
replacement. Write a colon within either field as `\:` (for example,
321+
`replace-pattern:https?\://old:https\://new`). Regex replacement expansion is
322+
preserved, so capture references such as `$1` and `$name` are supported.
319323

320324
| `create`
321325
| Create the target file from a template or `fallback` content. Supports

0 commit comments

Comments
 (0)