|
Boost Users : |
Subject: Re: [Boost-users] [Q] regular expressions change the 'substitue with' value
From: V S P (toreason_at_[hidden])
Date: 2009-07-13 03:25:19
i do no think so,
because escapes are only needed for strings
in source files not the ones in memory
in this particular instance the string came back from
a call to a remote corba service
and when you print it out to stdout it had the slashes.
On Sun, 12 Jul 2009 17:07 -0600, "OvermindDL1" <overminddl1_at_[hidden]>
wrote:
> 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 mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Vlad P author of C++ ORM http://github.com/vladp/CppOrm/tree/master -- http://www.fastmail.fm - The way an email service should be
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