ID:               41173
 User updated by:  ruanchunping at gmail dot com
 Reported By:      ruanchunping at gmail dot com
 Status:           Bogus
 Bug Type:         PCRE related
 Operating System: FreeBSD6.2
 PHP Version:      5.2.1
 New Comment:

...
then, where to report the PCRE's bug?


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

[2007-04-24 07:51:43] [EMAIL PROTECTED]

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.



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

[2007-04-24 07:02:25] ruanchunping at gmail dot com

Description:
------------
textilphp 2.0.8,which use preg_xxx()
i think this is PCRE's bug.
see this link: http://forum.textpattern.com/viewtopic.php?id=21373

textilphp 2.0.8 : http://jimandlissa.com/project/textilephp

Reproduce code:
---------------
include_once("Textile.php");
$textile = new Textile();
$s1 = "h1. hello";
$s2 = "* list item1
* list item2
* list item3
";

echo $textile->process($s1);
echo $textile->process($s2);

Expected result:
----------------
the result should be:
<h1>hello</h1>
<ul>
<li>list item1</li>
<li>list item2</li>
<li>list item3</li>
</ul>



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


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

Reply via email to