[1.34] tiny patch for xpressive

Is it too late to get a bug fix in for 1.34? The change is very low risk (change a < to <=), but it makes back-references over 9 work as they should. The change was applied to HEAD a couple of days ago, and caused no problems there. I've tested against the RC branch locally with positive results. Thomas? -- Eric Niebler Boost Consulting www.boost-consulting.com Index: regex_compiler.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/xpressive/regex_compiler.hpp,v retrieving revision 1.5 diff -b -d -u -r1.5 regex_compiler.hpp --- regex_compiler.hpp 15 Dec 2005 08:57:52 -0000 1.5 +++ regex_compiler.hpp 27 Apr 2007 16:48:32 -0000 @@ -530,7 +530,7 @@ int mark_nbr = detail::toi(tmp, end, this->rxtraits(), 10, 999); // If the resulting number could conceivably be a backref, then it is. - if(10 > mark_nbr || mark_nbr < static_cast<int>(this->mark_count_)) + if(10 > mark_nbr || mark_nbr <= static_cast<int>(this->mark_count_)) { begin = tmp; escape_value esc = {0, mark_nbr, 0, detail::escape_mark};

In article <46322ACC.6050500@boost-consulting.com> Eric Niebler <eric@boost-consulting.com> wrote:
This is a multi-part message in MIME format. --------------080508020607030705090705 Content-Type: text/plain; charset=ISO-8859-1; format=flowedContent-Transfer-Encoding: 7bit
Is it too late to get a bug fix in for 1.34? The change is very low risk (change a < to <=), but it makes back-references over 9 work as they should. The change was applied to HEAD a couple of days ago, and caused no problems there. I've tested against the RC branch locally with positive results.
Please apply ASAP. Thanks Thomas

Thomas Witt wrote:
In article <46322ACC.6050500@boost-consulting.com> Eric Niebler <eric@boost-consulting.com> wrote:
Is it too late to get a bug fix in for 1.34? The change is very low risk <snip>
Please apply ASAP.
Done. Thanks. -- Eric Niebler Boost Consulting www.boost-consulting.com
participants (2)
-
Eric Niebler
-
Thomas Witt