|
Boost : |
From: Aljaz (aljaz.fajmut_at_[hidden])
Date: 2006-10-11 09:56:27
Hey
Im a little confused, I thought boost::spirit is generally meant to be
'parser'..
So would it really be better to use spirit or regex?
Thanks
"Dean Michael Berris" <mikhailberis_at_[hidden]> wrote in message
news:6adba9f0610101532h34ff7791k2663059d73f01b29_at_mail.gmail.com...
> 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
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk