[pcre-dev] [Bug 2473] New: JIT ignores NOTEMPTY and NOTEMPT…

Top Pagina
Delete this message
Auteur: admin
Datum:  
Aan: pcre-dev
Onderwerp: [pcre-dev] [Bug 2473] New: JIT ignores NOTEMPTY and NOTEMPTY_ATSTART options
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: ph10@???
          Reporter: lucas.trzesniewski@???
                CC: pcre-dev@???


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.