phpbar.de logo

Mailinglisten-Archive

[php] preg_replace problem

[php] preg_replace problem

Enrico Weigelt php_(at)_phpcenter.de
Sun, 21 Apr 2002 14:29:28 +0200


On Sun, Apr 21, 2002 at 01:55:50PM +0200, Daniel Cramer wrote:

<snip>
> preg_replace((\/)*$,^$,$test);
> 
> jedoch immer den fehler :
> Warning: Unexpected character in input: '\' (ASCII=92) state=1 ... on
> line 36
preg_replace ( '/\/*$/', '', $foo )

~-n
--
 Enrico Weigelt    ==   meTUX IT services 
 software development, IT service, internet security solutions
 www:     http://www.metux.de/        phone:     +49 36207 519931
 email:   contact_(at)_metux.de            cellphone: +49 174 7066481


php::bar PHP Wiki   -   Listenarchive