|
Boost Users : |
Subject: Re: [Boost-users] boost::xpressive - Regex stack space exhausted
From: Eric Niebler (eric_at_[hidden])
Date: 2010-07-21 16:58:51
On 7/21/2010 2:39 PM, Pavol Supa wrote:
> Hi,
>
> I need to match a hex-written byte array, optionally separated with
> spaces. So i tried:
>
> boost::xpressive::sregex r = * ( * blank >> repeat<2,2> (xdigit));
> smatch match;
> regex_match (input, match, r);
Oh also, beware of blank; only the <space> and <tab> characters are
guaranteed to be in this set.
-- Eric Niebler BoostPro Computing http://www.boostpro.com
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