Boost logo

Boost Users :

Subject: Re: [Boost-users] [Q] regular expressions change the 'substitue with' value
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2009-07-12 23:07:27


On Fri, Jun 26, 2009 at 5:54 PM, Steven Watanabe<watanabesj_at_[hidden]> wrote:
> /* snip thread */

Out of curiosity, but this is C++, and is not a backslash in a string
in C++ an escape character, hence things like
"\temp\i\otrq92rq40100__db1003.xls" should actually be
"\\temp\\i\\otrq92rq40100__db1003.xls", and since
"\temp\i\otrq92rq40100__db1003.xls" was turning into
"empiotrq92rq40100__db1003.xls", is that not correct since the
backslashes were not escaped? Hence, this problem has *nothing* to do
with Boost and everything to do with forgetting to escape the escape
character? :)


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net