Bug #17632 Updated: ereg doesn't work correctly with (
| From: | mfischer@php.net | Date: | Thu, 06 Jun 2002 19:49:45 +0000 |
| Subject: | Bug #17632 Updated: ereg doesn't work correctly with ( | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-9664@lists.php.net to get a copy of this message | ||
ID: 17632
Updated by: mfischer@php.net
Reported By: jesse@erieonline.com
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Freebsd 4.5
PHP Version: 4.2.1
New Comment:
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php
Thank you for your interest in PHP.
How about escaping it with '\' ?
Previous Comments:
------------------------------------------------------------------------
[2002-06-06 15:43:40] jesse@erieonline.com
After doing work using the ereg function, I've discovered that the
function doesn't care for '('. Everytime it is used, php will produce
a warning message. If I remove the '(', the function will work, but as
soon as I add it back in, the warnings reapper.
if (ereg("> (", $line)) {
Warning: REG_EPAREN in
/usr/home/grimreapa.com/public_html/emailparse.php on line 5
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17632&edit=1