Re: something wrong w/ ereg() ?

From: Date: Thu, 05 Apr 2001 11:05:02 +0000
Subject: Re: something wrong w/ ereg() ?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-6529@lists.php.net to get a copy of this message
ereg*() have more restrictions than preg*(). for example, ereg('(A){1,1000}',$str,$regs); I think it does work with current PHP. You might find something if you search BugDB. Regards, -- Yasuo Ohgaki ""~~~i LeoNid ~~"" <ill.i_ada@auto_no.leo.portland.co.uk> wrote in message news:3acc1b57.6416043@localhost... > Are people here aware of specifics for implementation of all ereg~() functions? > It seemed, they didn't work for relatively complex comparisons (with long > strings) at least on Windows95. > > Some of thier calls complain about about reg_expressions, like "?" > qualifiers, etc, some expressions - are not interpreted, as intended, and > for some - script even goes into stall without warning (never returns from > it nor crash!) > > When I replace ereg~() with matching preg~() everything works, as > designed. I now even replace ereg~() for simple calls, where it works, > just in case. > > Anybody has the same experience? > -- > LeoN to e-mail: cut "auto_no." if present. > (.ア.) to think - is to speak quietly, to speak - is to think > aloud > \~/ > My posted articles archive: http://leo.portland.co.uk/doc00.htm > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.windows (#6529) next »