Re: [Boost-bugs] [Boost C++ Libraries] #3321: Boost::regex throws invalid execption when assigning match text

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3321: Boost::regex throws invalid execption when assigning match text
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-08-07 11:21:33


#3321: Boost::regex throws invalid execption when assigning match text
-----------------------------------------------------------------------+----
  Reporter: Raymond Chandler III <raymond.chandler.ctr@…> | Owner: johnmaddock
      Type: Bugs | Status: closed
 Milestone: Boost 1.40.0 | Component: regex
   Version: Boost 1.38.0 | Severity: Problem
Resolution: worksforme | Keywords: Regex \{ \[ \] \} assign
-----------------------------------------------------------------------+----
Changes (by anonymous):

  * status: new => closed
  * resolution: => worksforme

Comment:

 Works for me, note that the escapes need to be doubled up if the string is
 embedded in the source file. For example:

       boost::regex e("[A-Za-z_:,=\\t\\{\\[\\]\\}]");

 Remember that the compiler gobbles up the first escape.

 Please reopen if you have a test case.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3321#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC