On Mon, Oct 07, 2002 at 07:11:08AM -0500, [EMAIL PROTECTED] wrote: > > match negative multi-byte strings > > > in perl5, I'd tend to do > > m/(?:(?!union).)*/is > > or to capture > > m/((?:(?!union).)*)/is
yeah, I'm not arguing that there isn't a solution available, just that the solution is convoluted and somewhat un-intuitive (witness the many people who write (.*)(?!union)). Anyways, to make that perform with any speed you need to say: ((?:[^u]+|(?!union).*)) which is uglier than sin... Ed (Peschko)