[pcre-dev] [Bug 2663] New: PCRE2_MATCH_INVALID_UTF, PCRE2_P…

Αρχική Σελίδα
Delete this message
Συντάκτης: admin
Ημερομηνία:  
Προς: pcre-dev
Αντικείμενο: [pcre-dev] [Bug 2663] New: PCRE2_MATCH_INVALID_UTF, PCRE2_PARTIAL_HARD and JIT does not work together.
https://bugs.exim.org/show_bug.cgi?id=2663

            Bug ID: 2663
           Summary: PCRE2_MATCH_INVALID_UTF, PCRE2_PARTIAL_HARD and JIT
                    does not work together.
           Product: PCRE
           Version: 10.35 (PCRE2)
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: Philip.Hazel@???
          Reporter: kobrir@???
                CC: pcre-dev@???


I am getting unexpected matches when using JIT, PCRE2_MATCH_INVALID_UTF and
PCRE2_PARTIAL_HARD.
This can be confirmed with pcre2test:

pcre2test.exe -pattern utf,match_invalid_utf,jit -subject partial_hard

PCRE2 version 10.35 2020-05-09
re> /\bch\b/
data> qchq

0: ch
data>

Wihout JIT there is no match:

pcre2test.exe -pattern utf,match_invalid_utf -subject partial_hard

PCRE2 version 10.35 2020-05-09
re> /\bch\b/
data> qchq

Partial match:
data>

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