From: Lionel B. <lio...@bo...> - 2005-02-16 09:37:23
|
Michel Bouissou wrote the following on 16.02.2005 10:15 : >Le Mercredi 16 F=E9vrier 2005 00:52, Lionel Bouton a =E9crit : > =20 > >>The original was harmless, but your fix point to an obsious flaw in the >>regexp : '^' is used at the end of the regexp instead of '$' !!! >> >>Fixed in my tree. >> =20 >> > >Another patch attached, because it looks like the SRS1 regexp was still = flawed=20 >(I checked it with true SRS1 addresses; there's also a place where the "= =3D"=20 >separator can be doubled "=3D=3D"). > =20 > Thanks, good to know that : I had no example to check against :-/ >This patch also removes the "$user =3D~ s/\b\d+\b/#/g;" substitution, as= it is=20 >useless because the hex substitution just before it already does the job= . > > =20 > I wonder: this regexp is straight from postgrey and I'm not sure what=20 the '\b' word-boundary will match. I did a quick google search and found=20 no detailed information. I don't even know if it is locale-dependent.=20 Anyone on the list knows the details ? Thanks again, Lionel. |