https://bugs.exim.org/show_bug.cgi?id=2473

            Bug ID: 2473
           Summary: JIT ignores NOTEMPTY and NOTEMPTY_ATSTART options
           Product: PCRE
           Version: 10.34 (PCRE2)
          Hardware: x86-64
                OS: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

The JIT seems to ignore the NOTEMPTY and NOTEMPTY_ATSTART options in v10.34,
whether they are passed in the pattern or as external flags.

This used to work in v10.33.

Reproduction steps:

$ ./configure --enable-jit && make
[...]

$ echo ABC | ./pcre2grep -c --no-jit '(*NOTEMPTY)(?=A)'
0

$ echo ABC | ./pcre2grep -c '(*NOTEMPTY)(?=A)'
1

$ echo ABC | ./pcre2grep -c --no-jit '(*NOTEMPTY_ATSTART)(?=A)'
0

$ echo ABC | ./pcre2grep -c '(*NOTEMPTY_ATSTART)(?=A)'
1

These steps all output "0" in v10.33.

-- 
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