Never mind, I figured out the problem...<br><br>Thanks,<br><br>Steve<br><br><div class="gmail_quote">On Fri, Nov 20, 2009 at 6:12 PM, Steven Wilson <span dir="ltr"><<a href="mailto:steven.wesley.wilson@gmail.com">steven.wesley.wilson@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I have the following string in a variable "C:\path\to\foo"<br><br>I want to do something like the following:<br>
<br>string(REGEX REPLACE "\\" "\\\\" OUTPUT_VAR ${INPUT_VAR})<br><br>where INPUT_VAR contains the original string.<br>
<br>I want the result to be:<br><br>C:\\path\\to\\foo<br><br>I'm just not seeing how to make this regular expression work. If you have any suggestions I would appreciate the help!<br><br>Thanks in advance,<br><br>Steve<br>
</blockquote></div><br>