[pcre-dev] [Bug 2647] New: Pattern [\w]*[CA]X*B does not mat…

Pàgina inicial
Delete this message
Autor: admin
Data:  
A: pcre-dev
Assumpte: [pcre-dev] [Bug 2647] New: Pattern [\w]*[CA]X*B does not match string "ABC" with JIT enabled
https://bugs.exim.org/show_bug.cgi?id=2647

            Bug ID: 2647
           Summary: Pattern [\w]*[CA]X*B does not match string "ABC" with
                    JIT enabled
           Product: PCRE
           Version: 10.35 (PCRE2)
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: Philip.Hazel@???
          Reporter: tetyys@???
                CC: pcre-dev@???


v10.35:

$ echo ABC | ./pcre2grep --no-jit '[\w]*[CA]X*B'
ABC

$ echo ABC | ./pcre2grep '[\w]*[CA]X*B'


---
v10.32:

$ echo ABC | ./pcre2grep --no-jit '[\w]*[CA]X*B'
ABC

$ echo ABC | ./pcre2grep '[\w]*[CA]X*B'
ABC

---

Using PCRE2_NO_START_OPTIMIZE bypasses the issue (v10.35):

$ echo ABC | ./pcre2grep '(*NO_START_OPT)[\w]*[CA]X*B'
ABC

---

Please see https://github.com/ltrzesniewski/pcre-net/issues/22 for context

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