[pcre-dev] [Bug 2370] New: Restarted DFA match fails unexpec…

Startseite
Nachricht löschen
Autor: admin
Datum:  
To: pcre-dev
Betreff: [pcre-dev] [Bug 2370] New: Restarted DFA match fails unexpectedly
https://bugs.exim.org/show_bug.cgi?id=2370

            Bug ID: 2370
           Summary: Restarted DFA match fails unexpectedly
           Product: PCRE
           Version: 10.31 (PCRE2)
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: chas@???
                CC: pcre-dev@???


This interaction is surprising to me:

$ pcre2test
PCRE2 version 10.31 2018-02-12
re> /(123)+/
data> 123\=dfa,ps

0: 123
data> 1\=dfa,dfa_restart

0:
data> 2\=dfa,dfa_restart

No match

Depending on how you interpret the above, either a partial match is failing
after it is begun, or the original (full, "123") subject match is being
reported a second time after an additional segment is provided.

Am I misunderstanding the usage/flags involved, or the semantics of partial
restarts?

--
You are receiving this mail because:
You are on the CC list for the bug.