Subject: [Boost-bugs] [Boost C++ Libraries] #2736: The "regex_replace" function's format string parameter can refer to at most 99 subexpressions.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-02-09 20:51:25
#2736: The "regex_replace" function's format string parameter can refer to at most
99 subexpressions.
-------------------------------------+--------------------------------------
Reporter: janderson_at_[hidden] | Owner: johnmaddock
Type: Feature Requests | Status: new
Milestone: Boost 1.38.0 | Component: regex
Version: Boost 1.36.0 | Severity: Problem
Keywords: |
-------------------------------------+--------------------------------------
The format string has the following syntax:
(?ddexpression1:expression2), which limits the number of subexpressions
that can be matched and replaced.
If a regular expression contains more than 99 subexpressions that need to
be matched and replaced (if matched), then it cannot be currently handled
with the boost::regex_replace function because the format string cannot
refer to a subexpression with an index greater than 99.
Is this current limitation necessary? If so, why?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2736> 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:49:59 UTC