[pcre-dev] [Bug 2764] New: Regression in JIT matching with ^

Top Page

Reply to this message
Author: admin
To: pcre-dev
Subject: [pcre-dev] [Bug 2764] New: Regression in JIT matching with ^

            Bug ID: 2764
           Summary: Regression in JIT matching with ^
           Product: PCRE
           Version: 10.37 (PCRE2)
          Hardware: x86-64
                OS: MacOS X
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: Philip.Hazel@???
          Reporter: j.boggiano@???
                CC: pcre-dev@???

This pattern:


Started failing to match these strings with 10.37 when jit is enabled:


Somehow removing |^ from the pattern makes it match again, but that does change
its meaning and it would then fail to match URLs without scheme://.

I worked around it for now using:


Sorry if it's a duplicate of 2762 but it seems quite different and I can't
imagine the recent fix for single char repetitions in JIT fixed this instance.
I did compile pcre2 to try it out but unfortunately pcre2test tells me I can't
enable jit so that does not let me test it.

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