cvs commit: src/tools/regression/usr.bin/sed regress.s3.out regress.s4.out regress.s5.out regress.sg.out regress.sh

Daniel C. Sobral dcs at tcoip.com.br
Wed Jun 4 11:23:10 PDT 2003


Mike Barcroft wrote:
> Tony Finch <fanf at 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 at tco.net.br
         Daniel.Sobral at tcoip.com.br
         dcs at tcoip.com.br

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

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



More information about the cvs-all mailing list