|
Boost Users : |
Subject: Re: [Boost-users] [Xpressive] Problem with more than 49 named captures
From: Eric Niebler (eniebler_at_[hidden])
Date: 2013-04-23 16:11:25
On 13-04-21 05:23 PM, michael.donnerer_at_[hidden] wrote:
> Hi all,
>
> I am having trouble getting more than 49 named captures to work with boost xpressive 1.49.0. I extended the default mark_tag like so:
>
> boost::xpressive::mark_tag s10(10);
> boost::xpressive::mark_tag s11(11);
> boost::xpressive::mark_tag s12(12);
> â¦
> boost::xpressive::mark_tag s48(48);
> boost::xpressive::mark_tag s49(49);
>
> together with a regular expression that uses these named captures:
>
> (skip rather long expression)⦠(s49= +(boost::xpressive::set[boost::xpressive::range('0','9')|'-']))
Whoa.
> This works as long as I stick to only using up to s49, as soon as I start using s50 the regular expression no longer seems to match. Is there anything obvious I am missing before I start digging deeper?
It's not a known problem. I guess it's pointless to ask for a *small*
repro. ;-) Some self-contained code demonstrating the problem would be a
help.
-- Eric Niebler Boost.org
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net