ID:               16945
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
-Bug Type:         Unknown/Other Function
+Bug Type:         Scripting Engine problem
 Operating System: win2k
 PHP Version:      4.1.2


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

[2002-05-01 10:23:21] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=16945&edit=1

Reply via email to