[pcre-dev] [Bug 1473] New: Hoping for --dfa option

Top Page

Reply to this message
Author: Jonathan S Shapiro
Date:  
To: pcre-dev
New-Topics: [pcre-dev] [Bug 1473] Hoping for --dfa option
Subject: [pcre-dev] [Bug 1473] New: Hoping for --dfa option
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1473
           Summary: Hoping for --dfa option
           Product: PCRE
           Version: N/A
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: wishlist
          Priority: low
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: shap@???
                CC: pcre-dev@???



pcregrep does not provide an option to execute the provided regular expression
using the "dfa" execution option. To the extent that pcregrep is used as a test
vector vehicle, it would seem desirable to be able to test both execution
engines.

Would it be possible and worthwhile to add a --dfa or --exec-dfa option to
pcregrep, indicating that the supplied regular expression should be executed
(or should fail to execute for reported reasons) using the dfa exec functions?

If this if of interest, I'd be willing to dig in, do the work, and supply a
patch. Please let me know if that would be helpful.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email