Boost logo

Boost :

From: Dean Michael Berris (mikhailberis_at_[hidden])
Date: 2006-10-10 18:32:54


On 10/11/06, Aljaz <aljaz.fajmut_at_[hidden]> wrote:
>
> Im working on my c++ application, and I have string (user input) where I
> would have to replace some variables/substrings in it..
> For example lets say user give input:
> string str "this is test $some_variable some more text $random(1-5)
> $random(1-9)";
>

Maybe you need to use Spirit instead?

-- 
Dean Michael C. Berris
C++ Software Architect
Orange and Bronze Software Labs, Ltd. Co.
web: http://software.orangeandbronze.com/
email: dean_at_[hidden]
mobile: +63 928 7291459
phone: +63 2 8943415
other: +1 408 4049532
blogs: http://mikhailberis.blogspot.com http://3w-agility.blogspot.com
http://cplusplus-soup.blogspot.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk