From:             [EMAIL PROTECTED]
Operating system: *
PHP version:      5CVS-2005-08-13 (dev)
PHP Bug Type:     Feature/Change Request
Bug description:  Add DFA support to preg_match() function

Description:
------------
I've made a patch to add DFA (PCRE 6) support to preg_match().
It isn't completed (yet), because I would like to receive your feedback
first before continuing.

patch: http://mega.ist.utl.pt/~ncpl/php_pcre_dfa.txt
example: http://mega.ist.utl.pt/~ncpl/dfa_example.php


TODO:
 - currently preg_match_*() allocs memory for captures based on the number
of capturing parentheses. But this needs to be changed for the DFA mode.
 - make partial matching working. The only thing it needs to be done is to
save the workspace table in the cache and reuse it when calling the
pcre_dfa_exec() function.


-- 
Edit bug report at http://bugs.php.net/?id=34121&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=34121&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=34121&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=34121&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=34121&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=34121&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=34121&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=34121&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=34121&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=34121&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=34121&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=34121&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=34121&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=34121&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=34121&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=34121&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=34121&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=34121&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=34121&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=34121&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=34121&r=mysqlcfg

Reply via email to