|
Boost Users : |
Subject: Re: [Boost-users] boost::xpressive : Get thousand separator as double
From: Eric Niebler (eric_at_[hidden])
Date: 2011-09-14 00:26:25
(Please don't top-post)
On 9/13/2011 6:54 PM, Jens Saathoff wrote:
> Is it possible to mix static and dynamic xpressive as nested xpressions
> like:
>
> staticregex = double_; (the code you provided)
> dynregex.compile("i paid:" >> staticregex);
>
> That's just a very short example, but i think you understand what i mean
> here.
Yes, dynamic regexes can embedded in static regexes, and static regexes
can be embedded in dynamic regexes via named regexes. It's all described
in the users' guide.
-- 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