More testing. This appears to work, but I would appreciate any feedback.<regex regexp="[\\\\]" replace="\\\\\\\\" global="true"/>
<variable name="previous.JAVA_HOME" escape="false" file="${INSTALL_PATH}/env.cmd" type="options" key="SET JRE" ignorefailure="true">
<filters>
<regex regexp="[/\\]+" replace="/" global="true" />
<regex regexp="["']+" replace="" global="true" />
</filters>
</variable>
<regex regexp="[/\\]+" replace="\\\\" global="true" />
Dne 5. 10. 2016 20:20 napsal uživatel "Phil Hyde" <phil...@gmail.com>:
>
> I tried your suggestion:
>
>
> <regex regexp="[/\\]+" replace="\\\\" global="true" />
>
> And this does not seem to work for me. I am using INSTALL_PATH set to C:\appl. Your code does not change it.
Of course, this is expected. I forgot you want two backslashes. For this purpose, use:
Dne 5. 10. 2016 20:20 napsal uživatel "Phil Hyde" <phil...@gmail.com>:
>Of course, this is expected. I forgot you want two backslashes. For this purpose, use: