Re: [Boost-bugs] [Boost C++ Libraries] #9380: regex return empty submatch on some machines/compilers

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9380: regex return empty submatch on some machines/compilers
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-12-19 17:00:24


#9380: regex return empty submatch on some machines/compilers
------------------------------------------+-------------------------
  Reporter: Jannich Thorsen <jannich@…> | Owner: johnmaddock
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: regex
   Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords:
------------------------------------------+-------------------------

Comment (by johnmaddock):

 Actually that shouldn't work in any compiler/situation, you need

 {{{"^([^\\[]+)\\[([0-9]+)-([0-9]+)\\]"}}}

 as the regular expression if it really is embedded in code like that.

 Then it works for me.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9380#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:15 UTC