Yes, that could be a bug. Internally in the Ui.Vision code the \
character is escaped as \\
, but that should stay internally and not make its way to the clipboard. I created a ticket for it.
Workaround: Remove this character from the string
Background info: In JavaScript, you can escape a string by using the \ (backslash) character . The backslash indicates that the next character should be treated as a literal character rather than as a special character or string delimiter.