I have a problem with ereg function.
In php 4.0.5 i use this
if ( ereg("([0-9][0-9]*)\|(\w\w*)",$opcion, $registros) ) {
and no problem. But, in php 4.1.1 don't work. I think that may be the escape
of | character.

Note: I'm looking for a | in the string. Then i need escape the |

  Any idea for fix it?

German Castro

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to