From: [EMAIL PROTECTED] Operating system: win2k PHP version: 4.1.2 PHP Bug Type: Unknown/Other Function Bug description: bug in syntax highlight
While generating the new CHM highlights I came across a bug. Seems like the syntax highliter does not like backslashes in strings, or something like that... This example was on the preg_match_all() page. The original source: preg_match_all ("/(<([\w]+)[^>]*>)(.*)(<\/\\2>)/", $html, $matches); The output of the highlight: preg_match_all ("/(<([ Warning: Unexpected character in input: '\' (ASCII=92) state=1 in E:\phpcvs\phpdoc\htmlhelp\filter_files.php on line 180 w]+)[^>]*>)(.*)(< Warning: Unexpected character in input: '\' (ASCII=92) state=1 in E:\phpcvs\phpdoc\htmlhelp\filter_files.php on line 180 / Warning: Unexpected character in input: '\' (ASCII=92) state=1 in E:\phpcvs\phpdoc\htmlhelp\filter_files.php on line 180 Warning: Unexpected character in input: '\' (ASCII=92) state=1 in E:\phpcvs\phpdoc\htmlhelp\filter_files.php on line 180 2>)/", $html, $matches); -- Edit bug report at http://bugs.php.net/?id=16945&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16945&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16945&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16945&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16945&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16945&r=support Expected behavior: http://bugs.php.net/fix.php?id=16945&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16945&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16945&r=submittedtwice