Does anyone actually read the answers we give? "." IS THE SAME AS ".". Of course you get the same thing back when you implode (*) with the same string as you explode (/) on.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2004-09-09 14:50: Subject: Re: Bug in replace
Replace doesn't seem to like . :
Replace seems not the only one affected:
$ pike7.6 Pike v7.6 release 11 running Hilfe v3.5 (Incremental Pike Frontend)
string s = "foo.bar.com"; array parts = s/"."; s=parts*".";
(1) Result: "foo.bar.com"
(same in 7.2)
-- Bertrand LUPART Linkeo.com - R&D | http://www.linkeo.com/ +33 1 72 71 71 82 | 17, rue de la Banque - F75002 Paris Systèmes de gestion d'email entrant | Email management systems
/ Brevbäraren