ID:               34121
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Assigned
 Bug Type:         Feature/Change Request
 Operating System: *
 PHP Version:      5CVS-2005-08-13 (dev)
-Assigned To:      
+Assigned To:      andrei
 New Comment:

Assigning to Andrei, as he's the PCRE extension maintainter.


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

[2005-08-13 14:20:51] [EMAIL PROTECTED]

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

Reply via email to