$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Benzinger, Ralph (ralph.benzinger_at_[hidden])
Date: 2004-04-08 08:31:16
> > Actually, now that I look at the code, should it simply be
> >
> > < if(((m_match_flags & match_not_null) == 0) && (m_presult->length() == 0))
> > ---
> > > if(((m_match_flags & match_not_null) == 0) && (m_result.length() == 0))
> >
> > just below the original patch? That _seems_ to work.
>
> I've no time now, but I'll look into it, thanks,
>
> John.
Thanks. BTW, meanwhile I noticed that it's not as simple as that. Above change helps with consecutive matches, but breaks empty matches, i.e. grepping "a*" over "---" gets stuck in an infinite loop.
Ralph