This prepends an r to the filepath string in generated scripts to ensure \U is not interpreted as unicode.
To test:
I've struggled to directly test this, as I cannot directly replicate the script that caused the issue. In my case, the generated filepath is separated by / not \.
Regardless, generated a few scripts of cut/slices from clipboard and test.
Description of work:
This prepends an
r
to the filepath string in generated scripts to ensure\U
is not interpreted as unicode.To test:
I've struggled to directly test this, as I cannot directly replicate the script that caused the issue. In my case, the generated filepath is separated by
/
not\
.Regardless, generated a few scripts of cut/slices from clipboard and test.
Fixes #932