Skip to content

Interpreter/JIT discrepancy #974

Description

@ltrzesniewski

I've been notified of an interpreter/JIT discrepancy in PCRE.NET, but it happens directly in PCRE2 10.48:

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

$ echo 'ab' | ./pcre2grep -c --no-jit '(?<=a?(?=b))b'
1

$ echo 'ab' | ./pcre2grep -c '(?<=a?(?=b))b'
0

$ ./pcre2grep --version
pcre2grep version 10.48 2026-08-31

Thanks to @Kuinox for finding this.

PS: This also happens on the latest main branch (aac57f9)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    JITRelating to the JIT featurebugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions