ID:               35944
 Updated by:       [EMAIL PROTECTED]
 Reported By:      gidanmx2 at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         *Regular Expressions
 Operating System: Windows XP
 PHP Version:      5.1.1
 New Comment:

Sorry, but 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 as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




Previous Comments:
------------------------------------------------------------------------

[2006-01-09 14:33:36] gidanmx2 at gmail dot com

Sorry, the Expected result is Not found not found, I have mistaken to
write :P

------------------------------------------------------------------------

[2006-01-09 14:26:42] gidanmx2 at gmail dot com

Description:
------------
The preg_match can't found [^\\].

Reproduce code:
---------------
$stringa = "\{test\}";
if(preg_match("/[^\\]/i",$stringa,$matches)){
echo "<p>Found";
} else {
echo "<p>Not found";
}

Expected result:
----------------
Found

Actual result:
--------------
Warning: preg_match() [function.preg-match]: Compilation failed:
missing terminating ] for character class at offset 4 in C:\Documents
and Settings\XPuser\Documenti\Eucalyptus\test.php on line 26

Not found


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=35944&edit=1

Reply via email to