#41173 [Bgs]: textilephp could not work,while PCRE6.6(in php5.1.4) works perfect
| From: | ruanchunping at gmail dot com | Date: | Tue, 24 Apr 2007 08:09:09 +0000 |
| Subject: | #41173 [Bgs]: textilephp could not work,while PCRE6.6(in php5.1.4) works perfect | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-111841@lists.php.net to get a copy of this message | ||
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] tony2001@php.net
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