
8 Apr
2004
8 Apr
'04
1:31 p.m.
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