Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6493: Problem in using regex to find nested tags
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-08 08:25:04
#6493: Problem in using regex to find nested tags
-----------------------------------+----------------------------------------
Reporter: little_bird@⦠| Owner: johnmaddock
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: regex
Version: Boost 1.48.0 | Severity: Problem
Resolution: invalid | Keywords: regex
-----------------------------------+----------------------------------------
Changes (by johnmaddock):
* status: new => closed
* resolution: => invalid
Comment:
Perl and .Net regular expression are similar but not the same - Perl
matches the whole of the input string as well.
Suggest you try a recursive expression:
http://www.boost.org/doc/libs/1_50_0/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html#boost_regex.syntax.perl_syntax.recursive_expressions
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6493#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:10 UTC