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.ha...@gmail.com
          Reporter: kob...@yandex.ru
                CC: pcre-dev@exim.org

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.
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to