SYNG1009 - Unterminated backref
Domain: sexp
Severity: USER
A backreference escape was started but not completed.
Backreferences (used in replacements) start with \ followed by a digit. This error occurs when \ appears at the end of input without a number.
Example
clojure
(:replace (str /(.*)/) "\\")The replacement string ends with \ but no capture group number follows.
Solution
Add the capture group number after the backslash:
clojure
(:replace (str /(.*)/) "\1")Capture groups are numbered starting from 1.