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 ~~"" <[EMAIL PROTECTED]> wrote in message 3acc1b57.6416043@localhost">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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to