Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jun 2003 15:23:01 -0300
From:      "Daniel C. Sobral" <dcs@tcoip.com.br>
To:        Mike Barcroft <mike@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/tools/regression/usr.bin/sed regress.s3.out regress.s4.out regress.s5.out regress.sg.out regress.sh
Message-ID:  <3EDE3905.7020506@tcoip.com.br>
In-Reply-To: <20030604113540.G70533@espresso.bsdmike.org>
References:  <200306041526.h54FQO26005759@repoman.freebsd.org> <20030604113540.G70533@espresso.bsdmike.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Barcroft wrote:
> Tony Finch <fanf@FreeBSD.org> writes:
> 
>>fanf        2003/06/04 08:26:24 PDT
>>
>>  FreeBSD src repository
>>
>>  Modified files:
>>    tools/regression/usr.bin/sed regress.sh 
>>  Added files:
>>    tools/regression/usr.bin/sed regress.s3.out regress.s4.out 
>>                                 regress.s5.out regress.sg.out 
>>  Log:
>>  Add tests for the behaviour of substitution when the regex can match
>>  a zero-length string. This shows bugs in the s///g and s///2+ cases.

Let me add my thanks too. This kind of bug is the worst kind possible. 
Particularly when you _don't_ detect it, and end up with flawed data.

-- 
Daniel C. Sobral                   (8-DCS)
Gerencia de Operacoes
Divisao de Comunicacao de Dados
Coordenacao de Seguranca
VIVO Centro Oeste Norte
Fones: 55-61-313-7654/Cel: 55-61-9618-0904
E-mail: Daniel.Capo@tco.net.br
         Daniel.Sobral@tcoip.com.br
         dcs@tcoip.com.br

Outros:
	dcs@newsguy.com
	dcs@freebsd.org
	capo@notorious.bsdconspiracy.net

When in panic, fear and doubt,
Drink in barrels, eat, and shout.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EDE3905.7020506>