From:             ruanchunping at gmail dot com
Operating system: FreeBSD6.2
PHP version:      5.2.1
PHP Bug Type:     PCRE related
Bug description:  textilephp could not work,while PCRE6.6(in php5.1.4) works 
perfect

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 bug report at http://bugs.php.net/?id=41173&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=41173&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=41173&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=41173&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=41173&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=41173&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=41173&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=41173&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=41173&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=41173&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=41173&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=41173&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=41173&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=41173&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=41173&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=41173&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=41173&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=41173&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=41173&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=41173&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=41173&r=mysqlcfg

Reply via email to