| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2006-01-09 14:33 UTC] gidanmx2 at gmail dot com
  [2006-01-09 14:55 UTC] tony2001@php.net
  | 
    |||||||||||||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 02:00:01 2025 UTC | 
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