[pcre-dev] [Bug 2763] New: Using JIT gives wrong result

Pàgina inicial
Delete this message
Autor: admin
Data:  
A: pcre-dev
Assumpte: [pcre-dev] [Bug 2763] New: Using JIT gives wrong result
https://bugs.exim.org/show_bug.cgi?id=2763

            Bug ID: 2763
           Summary: Using JIT gives wrong result
           Product: PCRE
           Version: 10.37 (PCRE2)
          Hardware: x86-64
                OS: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: Philip.Hazel@???
          Reporter: rlanting@???
                CC: pcre-dev@???


Using 10.37 without JIT:

printf '%s\n%s\n' '/\\([^\\]+)\s*$/'
'App\\Domain\\Repository\\MetaData\\SomethingRepositoryInterface' | pcre2test
PCRE2 version 10.37 2021-05-26
/\\([^\\]+)\s*$/
App\\Domain\\Repository\\MetaData\\SomethingRepositoryInterface
0: \SomethingRepositoryInterface
1: SomethingRepositoryInterface

Using 10.37 with JIT:

printf '%s\n%s\n' '/\\([^\\]+)\s*$/'
'App\\Domain\\Repository\\MetaData\\SomethingRepositoryInterface' | pcre2test
-jit
PCRE2 version 10.37 2021-05-26
/\\([^\\]+)\s*$/
App\\Domain\\Repository\\MetaData\\SomethingRepositoryInterface
No match

Using 10.36 with JIT:

printf '%s\n%s\n' '/\\([^\\]+)\s*$/'
'App\\Domain\\Repository\\MetaData\\SomethingRepositoryInterface' | ./pcre2test
-jit
PCRE2 version 10.36 2020-12-04
/\\([^\\]+)\s*$/
App\\Domain\\Repository\\MetaData\\SomethingRepositoryInterface
0: \SomethingRepositoryInterface
1: SomethingRepositoryInterface


Homebrew bug report: https://github.com/Homebrew/homebrew-core/issues/78635
PHP bug report: https://bugs.php.net/bug.php?id=81101

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