Backslash in script window
I have an action which executes JavaScript. In the script window I enter (as a quick test)
/\d/.test("123")
and it wrongly returns false. If instead I replace the backslash with four backslashes
/\\\\d/.test("123")
it correctly returns true.
Does this mean that Captivate is processing the script window contents, to maybe save it as a string, and then losing the intended meaning for a single backslash when it reads it back?
Should I only be using external JavaScript files?
