Date: 2001-05-17 13:34:51
Well ,john it just wont , this is my RE :
when I use this format string :
it works great , since its a boolean , either A or B
but when I try :
I get only the first expression , I am probably doing something
wrong , but what ?
the code behind this is :
while(boost::regex_search(start, end, results, expression,
str.assign ( boost::regex_format ( results , fmt ,
boost::format_all ) );
std::cout << str ;
start = results.second;
I would appreciate your help
--- In boost_at_y..., John Maddock <John_Maddock_at_c...> wrote:
> >I am writing a command line util that takes 3 params , filename ,
> >search expression and format expression.
> ><filename> "(expr1)|(expr2)|(expr3)" "(?1one)(?2two)(?3three)"
> >this wont work , can anyone help me understand why ?
> It should work like that: that's certainly the intended usage, and
> usage I use in the HTML example as you rightly point out.
> - John Maddock
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk